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

Properties

protected $reasonPhrase protected $statusCode

Methods

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