Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionJSONRequestDelegate> Protocol Reference

Introduction

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

See Also
PTDiffusionJSON
PTDiffusionMessagingControlFeature
Since
6.0
Inheritance diagram for <PTDiffusionJSONRequestDelegate>:
<PTDiffusionTopicTreeRegistrationDelegate>

Instance Methods

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

Method Documentation

- (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