Skip to content

Commit

Permalink
Merge pull request #164 from torlenor/document_tls_features
Browse files Browse the repository at this point in the history
Add documentation about TLS features to README
  • Loading branch information
daniel-abramov committed Apr 27, 2021
2 parents 4686ae0 + c9b886e commit 6ce3591
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -24,3 +24,7 @@ Take a look at the `examples/` directory for client and server examples. You may

This crate is based on [`tungstenite-rs`](https://github.com/snapview/tungstenite-rs) Rust WebSocket library and provides `Tokio` bindings and wrappers for it, so you
can use it with non-blocking/asynchronous `TcpStream`s from and couple it together with other crates from `Tokio` stack.

## Features

As with [`tungstenite-rs`](https://github.com/snapview/tungstenite-rs) TLS is supported on all platforms using [`native-tls`](https://github.com/sfackler/rust-native-tls) or [`rustls`](https://github.com/ctz/rustls) through the `native-tls` and `rustls-tls` feature flags. Neither is enabled by default. If you require support for secure WebSockets (`wss://`) enable one of them.

0 comments on commit 6ce3591

Please sign in to comment.