Méthode | Description | |
---|---|---|
fromStream ( Psr\Http\Message\StreamInterface $stream ) : |
Deserialize a request stream to a request instance. | |
fromString ( string $message ) : |
Deserialize a request string to a request instance. | |
toString ( Psr\Http\Message\RequestInterface $request ) : string | Serialize a request message to a string. |
Méthode | Description | |
---|---|---|
createUriFromRequestTarget ( string $requestTarget ) : |
Create and return a Uri instance based on the provided request target. | |
getRequestLine ( Psr\Http\Message\StreamInterface $stream ) : array | Retrieve the components of the request line. |
public static fromStream ( Psr\Http\Message\StreamInterface $stream ) : |
||
$stream | Psr\Http\Message\StreamInterface | |
Résultat |
public static fromString ( string $message ) : |
||
$message | string | |
Résultat |