We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e508aa commit b3d4b1fCopy full SHA for b3d4b1f
README.md
@@ -117,6 +117,14 @@ Create instance of `scclient` by passing url of socketcluster-server end-point
117
client.connect()
118
```
119
120
+#### Getting connection status
121
+
122
+```swift
123
+ //This will send websocket handshake request to socketcluster-server
124
+ var status = client.isConnected()
125
+```
126
127
128
Emitting and listening to events
129
--------------------------------
130
#### Event emitter
@@ -243,3 +251,10 @@ Implementing Pub-Sub via channels
243
251
})
244
252
245
253
254
+#### Disable SSL Certificate Verification
255
256
257
+ var client = ScClient(url: "http://localhost:8000/socketcluster/")
258
+ client.disableSSLVerification(true)
259
260
0 commit comments