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

Methods implemented by classes handling JSON messaging requests. More...

#include <PTDiffusionJSONRequestStreamDelegate.h>

Inheritance diagram for <PTDiffusionJSONRequestStreamDelegate>:
<PTDiffusionStreamDelegate>

Instance Methods

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

Detailed Description

Methods implemented by classes handling JSON messaging requests.

See also
PTDiffusionJSON
PTDiffusionMessagingFeature
Since
6.0

Method Documentation

◆ diffusionStream:didReceiveRequestWithJSON:responder:

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