Update README.md
This commit is contained in:
parent
64c0674917
commit
0ae17f8a73
@ -34,7 +34,8 @@ Events
|
|||||||
let socket = SocketIOClient(socketURL: "https://localhost:8080", opts: [
|
let socket = SocketIOClient(socketURL: "https://localhost:8080", opts: [
|
||||||
"reconnects": true, // default true
|
"reconnects": true, // default true
|
||||||
"reconnectAttempts": 5, // default -1 (infinite tries)
|
"reconnectAttempts": 5, // default -1 (infinite tries)
|
||||||
"reconnectWait": 5 // default 10
|
"reconnectWait": 5, // default 10
|
||||||
|
"nsp": "swift" // connects to the specified namespace. Default is /
|
||||||
])
|
])
|
||||||
|
|
||||||
// Socket Events
|
// Socket Events
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user