Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
<PTDiffusionJSONRequestDelegate> Protocol Reference

Methods implemented by classes handling JSON messaging requests with a handler registered at the server. More...

#include <PTDiffusionJSONRequestDelegate.h>

Inheritance diagram for <PTDiffusionJSONRequestDelegate>:
<PTDiffusionTopicTreeRegistrationDelegate>

Instance Methods

(void) - diffusionTopicTreeRegistration:didReceiveRequestWithJSON:context:responder:
Instance Methods inherited from <PTDiffusionTopicTreeRegistrationDelegate>
(void) - diffusionTopicTreeRegistrationDidClose:
(void) - diffusionTopicTreeRegistration:didFailWithError:

Detailed Description

Methods implemented by classes handling JSON messaging requests with a handler registered at the server.

See also
PTDiffusionJSON
PTDiffusionMessagingFeature
Since
6.0

Method Documentation

◆ diffusionTopicTreeRegistration:didReceiveRequestWithJSON:context:responder:

- (void) diffusionTopicTreeRegistration: (PTDiffusionTopicTreeRegistration *) registration
didReceiveRequestWithJSON: (PTDiffusionJSON *) json
context: (PTDiffusionRequestContext *) context
responder: (PTDiffusionResponder *) responder 

Called when a JSON request has been received.

Parameters
registrationThe topic tree registration for which this handler applies.
jsonThe request that was received.
contextContext object that provides the session ID of the session that sent the request along with the path and any requested session properties.
responderResponder object to be used for responding to the request.
Since
6.0