File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -885,7 +885,7 @@ initially unset.
885
885
886
886
: {{WebSocketOpenInfo/writable}}
887
887
:: A {{WritableStream}} that can be used to send messages to the server. Each chunk written will
888
- be converted to one messages . Strings will be sent as text messages; {{BufferSource}} chunks will
888
+ be converted to one message . Strings will be sent as text messages; {{BufferSource}} chunks will
889
889
be sent as binary messages.
890
890
891
891
The WebSocket can be closed by calling {{WritableStream/close()}} on
@@ -907,7 +907,7 @@ initially unset.
907
907
[=cleanly=] then the promise is rejected. When the connection closes [=cleanly=] the promise is
908
908
resolved with an object with properties {{WebSocketCloseInfo/code}} and
909
909
{{WebSocketCloseInfo/reason}} , giving [=the WebSocket connection close code=] and [=the WebSocket
910
- connection close reason=] the were supplied by the server.
910
+ connection close reason=] that were supplied by the server.
911
911
912
912
: <code> |socket| . {{WebSocketStream/close()}} </code>
913
913
:: Close the connection, optionally supplying an object with {{WebSocketCloseInfo/code}} and
You can’t perform that action at this time.
0 commit comments