OpenSwoole\Core\Psr\Request->__construct

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\Core\Psr\Request->__construct()

Parameters

uri

The request uri

method

The request method

body

The request body

headers

The request headers

protocolVersion

The request protocol version

Return

Description

Create a new Request with constructor function.

Last updated on September 23, 2022