Update readme

This commit is contained in:
Erik 2016-08-27 11:15:27 -04:00
parent 4a9013d986
commit e3c8cc7fd9
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -142,7 +142,7 @@ Run `seed install`.
##API
Constructors
-----------
`init(var socketURL: NSURL, config: SocketIOClientConfiguration = [])` - Creates a new SocketIOClient. options is a Set of SocketIOClientOption. If your socket.io server is secure, you need to specify `https` in your socketURL.
`init(var socketURL: NSURL, config: SocketIOClientConfiguration = [])` - Creates a new SocketIOClient. If your socket.io server is secure, you need to specify `https` in your socketURL.
`convenience init(socketURL: NSURL, options: NSDictionary?)` - Same as above, but meant for Objective-C. See Options on how convert between SocketIOClientOptions and dictionary keys.