Skip to content

Commit

Permalink
Update ConnectingToWebSocket.md
Browse files Browse the repository at this point in the history
  • Loading branch information
loay-ashraf committed May 17, 2024
1 parent 323ae11 commit 220f39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docs.docc/Articles/ConnectingToWebSocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ViewController: UIViewController {

In this section, you will create a ``WebSocket`` and send/receive messages to/from the server.

- First, call the `WebSocketClient.websocket` method and pass the server url, protocols and close handler as arguments.
- First, call the `WebSocketClient.webSocket` method and pass the server url, protocols and close handler as arguments.

- Second, Subscribe to the output `Observable`s and call `WebSocket.connect` method as done below:

Expand Down

0 comments on commit 220f39f

Please sign in to comment.