All notable changes to this project will be documented in this file.
- HTTP headers are now visible after successful client or server connection.
- Setting custom http headers and cookies on Client.
- Builder pattern for setting options while creating both Server and Client.
- All documentation examples are now runnable.
- Project has roadmap now.
- Buffered read. From BufReader docs: "It can be excessively inefficient to work directly with a AsyncRead instance. A BufReader performs large, infrequent reads on the underlying AsyncRead and maintains an in-memory buffer of the results." In the previous implementation we were reading http header byte by byte, ws headers also few bytes at the time. Now we are using BufReader with buffer size of 1024, so number of system calls should be much lower.
- Tls in connect. It is now possible to connect to the wss:// endpoints. Thanks to mcseemk for pointing that.
- Possible leak of tasks. When stream goes out of scope there was no guarantee that reader and writer tasks are closed.
- Removed unnecessary copy of each incoming message.
Initial crate release.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.