Fix url in faq

This commit is contained in:
Erik Little 2017-09-16 09:53:01 -04:00
parent df8f87cc21
commit 0516d3555a
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -50,5 +50,5 @@ Another case where this might happen is if you use namespaces in your socket.io
In the JavaScript client a url that looks like `http://somesocketioserver.com/client` would be done with the `nsp` config. In the JavaScript client a url that looks like `http://somesocketioserver.com/client` would be done with the `nsp` config.
```swift ```swift
let socket = SocketIOClient(socketURL: URL(string: "http://somesocketioserver.com/client")!, config: [.nsp("/client")]) let socket = SocketIOClient(socketURL: URL(string: "http://somesocketioserver.com")!, config: [.nsp("/client")])
``` ```