Zend Framework
3.0
|
Public Member Functions | |
handle (array $httpData=null, $sendResponseNow=false) | |
Handle any callback from a Hub Server responding to a subscription or unsubscription request. | |
sendResponse () | |
Send the response, including all headers. | |
setHttpResponse ($httpResponse) | |
An instance of a class handling Http Responses. | |
getHttpResponse () | |
An instance of a class handling Http Responses. | |
getHttpResponse | ( | ) |
An instance of a class handling Http Responses.
This is implemented in Zend which shares an unenforced interface with (i.e. not inherited from) Zend.
Implemented in AbstractCallback.
handle | ( | array | $httpData = null , |
$sendResponseNow = false |
|||
) |
Handle any callback from a Hub Server responding to a subscription or unsubscription request.
This should be the Hub Server confirming the the request prior to taking action on it.
array | $httpData | GET/POST data if available and not in $_GET/POST |
bool | $sendResponseNow | Whether to send response now or when asked |
Implemented in Callback.
sendResponse | ( | ) |
Send the response, including all headers.
If you wish to handle this via Zend, use the getter methods to retrieve any data needed to be set on your HTTP Response object, or simply give this object the HTTP Response instance to work with for you!
Implemented in AbstractCallback.
setHttpResponse | ( | $httpResponse | ) |
An instance of a class handling Http Responses.
This is implemented in Zend which shares an unenforced interface with (i.e. not inherited from) Zend.
HttpResponse | \Zend\Http\PhpEnvironment\Response | $httpResponse |
Implemented in AbstractCallback.