From: Daniel Stenberg Date: Wed, 14 Jun 2023 11:30:50 +0000 (+0200) Subject: docs/libcurl/libcurl-ws.3: minor polish X-Git-Tag: curl-8_2_0~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=553ad23b4bf75dbc379db390a64c9905a892e4ec;p=thirdparty%2Fcurl.git docs/libcurl/libcurl-ws.3: minor polish --- diff --git a/docs/libcurl/libcurl-ws.3 b/docs/libcurl/libcurl-ws.3 index 9cc5bdb47b..24844ac8ca 100644 --- a/docs/libcurl/libcurl-ws.3 +++ b/docs/libcurl/libcurl-ws.3 @@ -43,11 +43,10 @@ over HTTP and "WSS" is for doing WebSocket securely over HTTPS. A WebSocket request is done as an HTTP/1 GET request with an "Upgrade WebSocket" request header field. When the upgrade is accepted by the server, it responds with a 101 Switching and then the client can speak WebSocket with -the server. - +the server. The communcation can happen in both directions at the same time. .SH MESSAGES -WebSocket communication is message based. That means that is sends and -receives entire messages, not streams like TCP. A WebSocket message is sent +WebSocket communication is message based. That means that both ends send and +receive entire messages, not streams like TCP. A WebSocket message is sent over the wire in one or more frames. Each frame in a message can have a size up to 2^63 bytes.