You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then simply specify the `wss` scheme to use an encypted connection.
45
+
Testing
46
+
-------
88
47
89
-
```rust
90
-
/// An encypted Websocket echo client
91
-
connect("wss://localhost:3012", |ws| {
92
-
move|msg| {
93
-
ws.send(msg)
94
-
}
95
-
})
96
-
```
48
+
WS-RS is thoroughly tested and passes the [Autobahn Test Suite](http://autobahn.ws/testsuite/) for
49
+
WebSockets, including the tests for `permessage-deflate`. Visit
50
+
[ws-rs.org](https://ws-rs.org/testing/results) to view the results of the latest test run.
97
51
98
52
Contributing
99
53
------------
100
54
101
-
Please report bugs and make feature requests [here](https://github.com/housleyjk/ws-rs/issues). I welcome pull requests.
102
-
Unit tests for bugs are greatly appreciated.
103
-
104
-
Comparison with other WebSocket libraries
105
-
-----------------------------------------
106
-
107
-
You don't need to use this library to the exclusion of other WebSocket libraries, in Rust or other languages,
108
-
but if you find yourself considering which library to use, here is my opinion: choose the one that has the API
109
-
you like the most. The API is generally more important than performance. The library API is what you will have to deal with as
110
-
you build your WebSocket application. I've written WS-RS to have an API that fits my needs. If you don't like it,
111
-
please make a [feature request](https://github.com/housleyjk/ws-rs/issues) to improve it or use another library
112
-
that causes you less problems.
113
-
114
-
However, if performance is what you value most and you want a WebSocket library in Rust, I would choose this one.
115
-
Here is how it stacks up against some other common frameworks using the example [benchmark tool](https://github.com/housleyjk/ws-rs/tree/stable/examples/bench.rs)
116
-
to open 10,000 simultaneous connections and send 10 messages. These results are **not** reliable as a serious benchmark:
0 commit comments