canSendHeaders()
getContent()
getHeader()
getHeaders()
getStatusCode()
send()
sendHeaders()
setContent()
setHeader()
setStatusCode()
_normalizeHeader()
$content
$headers
$statusCode
canSendHeaders(bool $throw) : \Zend\Feed\PubSubHubbub\HttpResponse
bool
Whether or not to throw an exception if headers have been sent; defaults to false
\Zend\Feed\PubSubHubbub\Exception\RuntimeException |
---|
getContent() : string
string
getHeader(string $name) : string | null
string
string
null
getHeaders() : array
array
getStatusCode() : int
int
send() : void
sendHeaders() : void
Sends any headers specified. If an HTTP response code has been specified, it is sent with the first header.
setHeader(string $name, string $value, bool $replace) : \Zend\Feed\PubSubHubbub\HttpResponse
If $replace is true, replaces any headers already defined with that $name.
string
string
bool
setStatusCode(int $code) : \Zend\Feed\PubSubHubbub\HttpResponse
_normalizeHeader(string $name) : string
string
string
$content : string
$headers : array
Each header is an array with keys 'name' and 'value'
$statusCode : int