Fix typo in readme
This commit is contained in:
parent
9d3e99336f
commit
c9f628ee2c
|
@ -23,7 +23,7 @@ const mySocket = new ManagedSocket("wss://socket.my-server.web");
|
||||||
|
|
||||||
Sends the provided data over the socket.
|
Sends the provided data over the socket.
|
||||||
|
|
||||||
The data can be of any shaoe as long as it can be serialized (using `JSON.stringify` under the hood).
|
The data can be of any shape as long as it can be serialized (using `JSON.stringify` under the hood).
|
||||||
|
|
||||||
If `send()` is called on a `ManagedSocket` instance that is not currently connected, it will be enqueued to be sent once the connection is reestablished.
|
If `send()` is called on a `ManagedSocket` instance that is not currently connected, it will be enqueued to be sent once the connection is reestablished.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue