Zend\Feed\PubSubHubbub\CallbackInterface
Synopsis
interface CallbackInterface
{
- // methods
- public void handle()
- public void sendResponse()
- public void setHttpResponse()
- public Response getHttpResponse()
Methods
public
- getHttpResponse() — An instance of a class handling Http Responses. This is implemented in Zend\Feed\Pubsubhubbub\HttpResponse which shares an unenforced interface with (i.e. not inherited from) Zend\Feed\Pubsubhubbub\AbstractCallback.
- handle() — 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.
- sendResponse() — Send the response, including all headers.
- setHttpResponse() — An instance of a class handling Http Responses. This is implemented in Zend\Feed\Pubsubhubbub\HttpResponse which shares an unenforced interface with (i.e. not inherited from) Zend\Feed\Pubsubhubbub\AbstractCallback.