This is automatic generated document for things in Swow\Psr7\Message\ServerRequest class
Class ServerRequest
Constants
protected PRESERVE_HOST = true Properties
protected $attributes protected $contentLength protected $contentType protected $cookieParams protected $hasParsedBody protected $isUpgrade protected $parsedBody protected $queryParams protected $serverParams protected $uploadedFiles Methods
Method __construct
public final function __construct ( ) Method getAttribute
public function getAttribute ( string $name , mixed $default ) : mixed Method getAttributes
public function getAttributes ( ) : array<mixed> Method getContentLength
public function getContentLength ( ) : int Method getContentType
public function getContentType ( ) : string Method getCookieParams
public function getCookieParams ( ) : array<string, string> Method getParsedBody
public function getParsedBody ( ) : (array<mixed> | object | null) Method getQueryParams
public function getQueryParams ( ) : array<string, string> Method getServerParams
public function getServerParams ( ) : array<string, mixed> Method getUploadedFiles
public function getUploadedFiles ( ) : array<string, UploadedFileInterface> Method isUpgrade
public function isUpgrade ( ) : ?bool Method setAttribute
public function setAttribute ( string $name , mixed $value ) : static Method setCookieParams
public function setCookieParams ( array<string, string> $cookies ) : static Method setIsUpgrade
public function setIsUpgrade ( bool $isUpgrade ) : static Method setParsedBody
public function setParsedBody ( (array<mixed> | object | null) $data ) : static Method setQueryParams
public function setQueryParams ( array<string, string> $query ) : static Method setServerParams
public function setServerParams ( array<string, mixed> $serverParams ) : static Method setUploadedFiles
public function setUploadedFiles ( array<string, UploadedFileInterface> $uploadedFiles ) : static Method unsetAttribute
public function unsetAttribute ( string $name ) : static Method withAttribute
public function withAttribute ( string $name , mixed $value ) : static Method withCookieParams
public function withCookieParams ( array<string, string> $cookies ) : static Method withParsedBody
public function withParsedBody ( (array<mixed> | object) $data ) : static Method withQueryParams
public function withQueryParams ( array<string, string> $query ) : static Method withServerParams
public function withServerParams ( array<string, mixed> $serverParams ) : static Method withUploadedFiles
public function withUploadedFiles ( array<UploadedFileInterface> $uploadedFiles ) : static Method withoutAttribute
public function withoutAttribute ( string $name ) : static