Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket is not experimental anymore #515

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading