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

Methods implemented by classes handling JSON messaging responses from individual sessions. More...

#include <PTDiffusionJSONSessionResponseStreamDelegate.h>

Inheritance diagram for <PTDiffusionJSONSessionResponseStreamDelegate>:
<PTDiffusionSessionResponseStreamDelegate> <PTDiffusionStreamDelegate>

Instance Methods

(void) - diffusionStream:didReceiveResponseWithJSON:fromSessionId:
Instance Methods inherited from <PTDiffusionSessionResponseStreamDelegate>
(void) - diffusionStream:didReceiveError:fromSessionId:
Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
(void) - diffusionDidCloseStream:

Detailed Description

Methods implemented by classes handling JSON messaging responses from individual sessions.

See also
PTDiffusionJSON
PTDiffusionMessagingFeature
Since
6.1

Method Documentation

◆ diffusionStream:didReceiveResponseWithJSON:fromSessionId:

- (void) diffusionStream: (PTDiffusionStream *) stream
didReceiveResponseWithJSON: (PTDiffusionJSON *) json
fromSessionId: (PTDiffusionSessionId *) sessionId 

Called when a session responds to a request with JSON.

Parameters
streamThe stream that received the response.
jsonThe response that was received.
sessionIdThe id of the responding session.
Since
6.1