Icicle\Http\Message\Response::withStatus PHP 메소드

withStatus() 공개 메소드

Returns a new instance with the given status.
public withStatus ( integer $code, string $reason = '' ) : Icicle\Http\Message\Response
$code integer 3-digit status code.
$reason string Description of status code or null to use default reason associated with the status code given.
리턴 Icicle\Http\Message\Response
    public function withStatus(int $code, string $reason = '') : Response;