메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Psr\Http\Message\ResponseInterface |
public static fromString ( string $message ) : |
||
$message | string | |
리턴 |