phasync\Psr\Request
class
Documentation
Inheritance
Implements:
Psr\Http\Message\RequestInterface
Psr\Http\Message\MessageInterface
Uses Traits:
phasync\Psr\MessageTrait
Properties (7)
string $requestTarget
string $method
Psr\Http\Message\UriInterface $uri
string $protocolVersion
Psr\Http\Message\StreamInterface $body
array $headers
array $headerCases
Methods (20)
Documentation missing
Retrieves the message's request target.
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Configure the message trait.
Retrieves the HTTP protocol version as a string.
Return an instance with the specified HTTP protocol version.
Get message headers
Checks if a header exists by the given case-insensitive name.
Retrieves a message header value by the given case-insensitive name.
Retrieves a comma-separated string of the values for a single header.
Return an instance with the provided value replacing the specified header.
Return an instance with the specified header appended with the given value.
Return an instance without the specified header.
Gets the body of the message.
Return an instance with the specified message body.