Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
SparkPost
SparkPostResponse
__construct
SparkPost\SparkPostResponse::__construct PHP Method
SparkPostResponse Class Documentation
显示文件
Open project: sparkpost/php-sparkpost
__construct()
public
method
set the response to be wrapped.
public
__construct
(
Psr\Http\Message\ResponseInterface
$response
)
$response
Psr\Http\Message\ResponseInterface
public function __construct(ResponseInterface $response) { $this->response = $response; }
SparkPostResponse
__construct
getBody
getHeader
getHeaderLine
getHeaders
getProtocolVersion
getReasonPhrase
getStatusCode
hasHeader
withAddedHeader
withBody
withHeader
withProtocolVersion
withStatus
withoutHeader