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
<PTDiffusionStringRequestStreamDelegate> Protocol Reference

Introduction

Methods implemented by classes handling JSON messaging requests.

See Also
PTDiffusionPrimitive
PTDiffusionMessagingFeature
Since
6.0
Inheritance diagram for <PTDiffusionStringRequestStreamDelegate>:
<PTDiffusionStreamDelegate>

Instance Methods

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

Method Documentation

- (void) diffusionStream: (PTDiffusionStream *)  stream
didReceiveRequestWithString: (nullable NSString *)  string
responder: (PTDiffusionResponder *)  responder 

Called when a string request has been received.

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