Méthode | Description | |
---|---|---|
fromStream ( Psr\Http\Message\StreamInterface $stream ) : Psr\Http\Message\ResponseInterface | Parse a response from a stream. | |
fromString ( string $message ) : |
Deserialize a response string to a response instance. | |
toString ( Psr\Http\Message\ResponseInterface $response ) : string | Create a string representation of a response. |
Méthode | Description | |
---|---|---|
getStatusLine ( Psr\Http\Message\StreamInterface $stream ) : array | Retrieve the status line for the message. |
public static fromStream ( Psr\Http\Message\StreamInterface $stream ) : Psr\Http\Message\ResponseInterface | ||
$stream | Psr\Http\Message\StreamInterface | |
Résultat | Psr\Http\Message\ResponseInterface |
public static fromString ( string $message ) : |
||
$message | string | |
Résultat |