SRLongPollingTransport Class Reference
| Inherits from | SRHttpBasedTransport : NSObject |
| Declared in | SRLongPollingTransport.h |
Overview
SRLongPollingTransport object provides support for using Long Polling when communicating with a SignalR Server.
SRLongPollingTransport makes an HTTP POST Request with transport=“longPolling” SRLongPollingTransport will keep this connection open until it receives a response or
a client side timeout, once the timeout is received SRLongPollingTransport will poll again after waiting for 2 seconds
Alternatively if the connection receives data successfully from the server, SRLongPollingTransport will poll the server again immediately
Tasks
Properties
-
reconnectDelayReturns an
propertyNSIntegerobject with the amount of time in seconds to wait before raising a reconnect