Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Psr7\Message\Response class

Class Response


protected $reasonPhrase protected $statusCode


Method getReasonPhrase

public function getReasonPhrase ( ) : string

Method getStatusCode

public function getStatusCode ( ) : int

Method setStatus

public function setStatus ( int $code , string $reasonPhrase ) : static

Method toString

public function toString ( bool $withoutBody ) : string

Method withStatus

public function withStatus ( int $code , string $reasonPhrase ) : static

Copyright 2022 the Swow contributors