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

Introduction

Methods implemented by classes handling JSON messaging requests.

See Also
PTDiffusionJSON
PTDiffusionMessagingFeature
Since
6.0
Inheritance diagram for <PTDiffusionJSONRequestStreamDelegate>:
<PTDiffusionStreamDelegate>

Instance Methods

(void) - diffusionStream:didReceiveRequestWithJSON:responder:
 
- Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
 
(void) - diffusionDidCloseStream:
 

Method Documentation

- (void) diffusionStream: (PTDiffusionStream *)  stream
didReceiveRequestWithJSON: (PTDiffusionJSON *)  json
responder: (PTDiffusionResponder *)  responder 

Called when a JSON request has been received.

Parameters
streamThe stream that received the request.
jsonThe request that was received.
responderResponder object to be used for responding to the request.
Since
6.0