Skip to content

Commit

Permalink
WebSocket is not experimental anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Dec 19, 2024
1 parent eb14fc5 commit 2157ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions helpers/ws/support.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Support

WebSocket is an **EXPERIMENTAL** feature present in libcurl 7.86.0 and
later. Since it is experimental, you need to explicitly enable it in the build
for it to be present and available.

To figure out if your libcurl installation supports WebSocket, you can call
[`curl_version_info()`](../../libcurl/api.md) and check the `->protocols` fields in the
returned struct. It should contain `ws` for it to be present, and probably
also `wss`.

WebSocket is supported by default since 8.11.0.
2 changes: 0 additions & 2 deletions protocols/curl.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,8 @@ servers and clients use UDP port 69.

WebSocket is a bidirectional TCP-like protocol, setup over an HTTP(S)
request. WS is the scheme for the clear text version done over plain HTTP.
Experimental support for this was added to curl 7.86.0.

## WSS

WebSocket is a bidirectional TCP-like protocol, setup over an HTTP(S)
request. WSS is the scheme for the secure version done over HTTPS.
Experimental support for this was added to curl 7.86.0.

0 comments on commit 2157ac8

Please sign in to comment.