Send the response, including all headers
Return type: | void |
---|
Set a header
If $replace is true, replaces any headers already defined with that $name.
Parameters: |
|
---|---|
Return type: | ZendFeedPubSubHubbubHttpResponse |
Check if a specific Header is set and return its value
Parameters: | string – |
---|---|
Return type: | string|null |
Can we send headers?
Parameters: | bool – Whether or not to throw an exception if headers have been sent; defaults to false |
---|---|
Return type: | HttpResponse |
Throws : | ExceptionRuntimeException |
Set HTTP response code to use with headers
Parameters: | int – |
---|---|
Return type: | HttpResponse |
Throws : | ExceptionInvalidArgumentException |