You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,7 @@ case Reconnects(Bool) // Whether to reconnect on server lose. Default is `true`
134
134
caseReconnectAttempts(Int) // How many times to reconnect. Default is `-1` (infinite tries)
135
135
caseReconnectWait(Int) // Amount of time to wait between reconnects. Default is `10`
136
136
caseForcePolling(Bool) // `true` forces the client to use xhr-polling. Default is `false`
137
+
caseForceNew(Bool) // Will a create a new engine for each connect. Useful if you find a bug in the engine related to reconnects
137
138
caseForceWebsockets(Bool) // `true` forces the client to use WebSockets. Default is `false`
138
139
caseNsp(String) // The namespace to connect to. Must begin with /. Default is `/`
139
140
caseCookies([NSHTTPCookie]) // An array of NSHTTPCookies. Passed during the handshake. Default is nil.
@@ -145,6 +146,7 @@ case ExtraHeaders([String: String]) // Adds custom headers to the initial reques
145
146
caseHandleQueue(dispatch_queue_t) // The dispatch queue that handlers are run on. Default is the main queue.
146
147
caseVoipEnabled(Bool) // Only use this option if you're using the client with VoIP services. Changes the way the WebSocket is created. Default is false
147
148
caseSecure(Bool) // If the connection should use TLS. Default is false.
0 commit comments