OpenSwoole\Core\Psr\ServerRequest->__construct

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

Declaration

<?php OpenSwoole\Core\Psr\ServerRequest->__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 ServerRequest with constructor function.

Last updated on September 23, 2022