# websocket-web — WebSockets on the web 🕸️
This crate provides WebSocket support in a JavaScript runtime environment, usually a web browser.
If available it uses the experimental [WebSocketStream API](https://developer.mozilla.org/en-US/docs/Web/API/WebSocketStream),
otherwise the standardized [WebSocket API](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)
is used.
[](https://crates.io/crates/websocket-web)
[](https://docs.rs/websocket-web)
[](https://raw.githubusercontent.com/surban/websocket-web/master/LICENSE)
## License
websocket-web is licensed under the [Apache 2.0 license].
[Apache 2.0 license]: https://github.com/surban/websocket-web/blob/master/LICENSE
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in websocket-web by you, shall be licensed as Apache 2.0, without any
additional terms or conditions.