The stream delegate protocol defines the methods to be implemented by classes wishing to receive streaming updates.
- See also
- PTDiffusionTopicsFeature
-
PTDiffusionMessagingFeature
- Since
- 5.6
◆ diffusionDidCloseStream:
The stream closed normally.
- Parameters
-
| stream | The stream that closed. |
- Note
- No further messages will be sent to the delegate for this stream.
- Since
- 5.6
◆ diffusionStream:didFailWithError:
| - (void) diffusionStream: |
|
(PTDiffusionStream *) | stream |
| didFailWithError: |
|
(NSError *) | error |
The stream closed prematurely.
- Parameters
-
| stream | The stream that closed. |
| error | The reason why the stream closed. |
- Note
- No further messages will be sent to the delegate for this stream.
- Since
- 5.6