NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1716 most downloaded on crates.io
A websocket protocol implementation.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 2.3 years
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
18 releases · first in 2019
[fixed] ignore I/O error after successful close handshake #115
Full Changelog: v0.8.0...v0.8.1
[changed] move to rust 2021 #56
One column per quarter.
[fixed] Advance reader when a too big message is received #54
[added] Added the handshake::http module and example usage at examples/hyper_server.rs to make using Soketto in conjunction with libraries that use th
handshake::http module and example usage at examples/hyper_server.rs to make using Soketto in conjunction with libraries that use the http types (like Hyper) simpler #45 #48[changed] Expose the Origin headers from the client handshake on ClientRequest #35
Origin headers from the client handshake on ClientRequest #35IncompleteHttpRequest and SecWebSocketKeyInvalidLength) #35send_text_owned method to Sender as an optimisation when you can pass an owned String in #36Update deps and remove unnecessary transients #30
Added connection ID to log output (#21).
ClientRequest::path to access the path requested by the client
(See #23 by @mward for details).sha-1 dependency to 0.9 (#24).- Update some dev-dependencies.
dev-dependencies.Remove internal use of futures::BufWriter.
unsafe code blocks.futures::io::BufWriter.Extension::decode now takes a &mut Vec<u8> instead of a BytesMut.Incoming::Pong contains the PONG payload data slice inline.Data not longer contains application data, but reports only the number
of bytes. The actual data is written directly into the &mut Vec<u8>
parameter of Receiver::receive or Receiver::receive_data.Receiver::into_stream has been removed.Bugfix release. Codec::encode_header contained a hidden assumption that a usize would be 8 bytes long, which is obviously only true on 64-bit architec
Codec::encode_header contained a hidden assumption that
a usize would be 8 bytes long, which is obviously only true on 64-bit
architectures. See #18 for details.A method into_inner to get back the socket has been added to handshake::{Client, Server}.
into_inner to get back the socket has been added to
handshake::{Client, Server}.Update to use and work with async/await:
Update to use and work with async/await:
Connection has been split into a Sender and Receiver pair with
async methods to send and receive data or control frames such as Pings
or Pongs.connection::into_stream has been added to get a futures::stream::Stream
from a Receiver.connection::Builder has been added to setup connection parameters.
handshake::Client and handshake::Server no longer have an
into_connection method, but an into_builder one which returns the
Builder and allows further configuration.base::Data has been moved to data. In addition data::Incoming
supports control frame data.base::Codec no longer implements Encoder/Decoder traits but has
inherent methods for encoding and decoding websocket frame headers.base::Frame has been removed. The base::Codec only deals with
headers.handshake module contains separate sub-modules for client and
server handshakes. Some handshake related types have been refactored
slightly.Extensions decode methods work on &mut BytesMut parameters
instead of Data. For encode a new type Storage has been added
which unifies different types of data, i.e. shared, unique and owned data.- Maintenance release.
Improved handshake header matching which is now more robust and can cope with repeated header names and comma separated values.
The DEFLATE extension now allows custom maximum window bits for client and server.
Change Extension trait and add an optional DEFLATE extension (RFC 7692). For now the possibility to use reserved opcodes in extensions is not enabled.
Extension trait and add an optional DEFLATE extension (RFC 7692).
For now the possibility to use reserved opcodes in extensions is not enabled.
The DEFLATE extension does not support setting of window bits other than 15
currently.Connection (see Connection::set_max_buffer_size).Initial release.
Initial release.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →