Fix url in faq
This commit is contained in:
parent
df8f87cc21
commit
0516d3555a
@ -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")])
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user