phasync\Psr\Request class

Documentation

Documentation missing - No docblock found for this class.

Inheritance

Implements: Psr\Http\Message\RequestInterface Psr\Http\Message\MessageInterface

Uses Traits: phasync\Psr\MessageTrait

Properties (7)

private ?string $requestTarget
private string $method
private Psr\Http\Message\UriInterface $uri
protected string $protocolVersion
protected Psr\Http\Message\StreamInterface $body
protected array $headers
protected 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.

Source

src/Psr/Request.php:8-93