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

Introduction

Methods implemented by classes handling JSON messaging requests.

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

Instance Methods

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

Method Documentation

- (void) diffusionStream: (PTDiffusionStream *)  stream
didReceiveRequestWithNumber: (nullable NSNumber *)  number
responder: (PTDiffusionResponder *)  responder 

Called when a numeric request has been received.

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