From 18a561f78aca533b272cc301cff20f656bd9eeff Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 27 Mar 2015 12:17:57 -0400 Subject: [PATCH] update READEME.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3be7c48..0a520c2 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,8 @@ let socket = SocketIOClient(socketURL: "https://localhost:8080", opts: [ "reconnectAttempts": 5, // Default is -1 (infinite tries) "reconnectWait": 5, // Default is 10 "nsp": "swift", // connects to the specified namespace. Default is / - "forcePolling": true, // if true, the socket will only use XHR polling, Default is false (polling/WebSockets) + "forcePolling": true, // if true the client will only use XHR polling, Default is false (polling/WebSockets) + "forceWebsockets": false, // if true the client will only use WebSockets. Trumps forcePolling. Default is false. (polling/WebSockets) "cookies": nil // An array of NSHTTPCookies. Passed during handshake. Default is nil ])