From 4be7bb0079e358e5a8d90c2256583582d37459eb Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 3 Nov 2015 09:33:49 -0500 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 651b889..6e067bc 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Run `seed install`. ##API Constructors ----------- -`init(var socketURL: String, options: Set? = nil)` - Creates a new SocketIOClient. opts is a Set of SocketIOClientOption. If your socket.io server is secure, you need to specify `https` in your socketURL. +`init(var socketURL: String, options: Set = [])` - Creates a new SocketIOClient. opts is a Set of SocketIOClientOption. If your socket.io server is secure, you need to specify `https` in your socketURL. `convenience init(socketURL: String, options: NSDictionary?)` - Same as above, but meant for Objective-C. See Options on how convert between SocketIOClientOptions and dictionary keys.