HttpResponse class
package | Default |
---|
__construct(integer $httpCode, string $header, string $body) : void
integer
http status code
string
response headers
string
response body
getBody() : string
string
response bodygetHeader() : string
string
response headersgetHeaderLine(string $key) : string | null
string
header name
string
null
header valuegetHttpCode() : integer
integer
http status codegetJsonBody() : \Kore\array<mixed>
\Kore\array<mixed>
response body$body : string
$header : string
$httpCode : integer