soketto
A websocket protocol implementation.
0.8.1
32M downloads/mo
#1627 most downloaded on crates.io
paritytech/soketto
What this package is like to depend on
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
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Jun 2019 to Dec 2024
2020
2021
2022
2023
2024
2025
2026
Releases
latest 18-
0.8.102 Dec 2024Release notes
Open source →0.8.1
- [fixed] ignore I/O error after successful close handshake #115
Full Changelog: v0.8.0...v0.8.1
-
0.8.008 Mar 2024 -
0.7.108 Nov 2021 -
0.7.029 Sep 2021Release notes
Open source →- [added] Added the
handshake::httpmodule and example usage atexamples/hyper_server.rsto make using Soketto in conjunction with libraries that use thehttptypes (like Hyper) simpler #45 #48 - [added] Allow setting custom headers on the client to be sent to WebSocket servers when the opening handshake is performed #47
Release notes
Open source →- [added] Added the
handshake::httpmodule and example usage atexamples/hyper_server.rsto make using Soketto in conjunction with libraries that use thehttptypes (like Hyper) simpler #45 #48 - [added] Allow setting custom headers on the client to be sent to WebSocket servers when the opening handshake is performed #47
- [added] Added the
-
0.6.015 Jun 2021Release notes
Open source →- [changed] Expose the
Originheaders from the client handshake onClientRequest#35 - [changed] Update handshake error to expose a couple of new variants (
IncompleteHttpRequestandSecWebSocketKeyInvalidLength) #35 - [added] Add
send_text_ownedmethod toSenderas an optimisation when you can pass an ownedStringin #36 - [updated] Run rustfmt over the repository, and minor tidy up #41
- [changed] Expose the
-
0.5.027 May 2021 -
0.4.201 Sep 2020Release notes
Open source →- Added connection ID to log output (#21).
- Added
ClientRequest::pathto access the path requested by the client (See #23 by @mward for details). - Updated
sha-1dependency to 0.9 (#24).
-
0.4.117 Jun 2020 -
0.4.008 Jun 2020Release notes
Open source →- Remove all
unsafecode blocks. - Remove internal use of
futures::io::BufWriter. Extension::decodenow takes a&mut Vec<u8>instead of aBytesMut.Incoming::Pongcontains the PONG payload data slice inline.Datanot longer contains application data, but reports only the number of bytes. The actual data is written directly into the&mut Vec<u8>parameter ofReceiver::receiveorReceiver::receive_data.Receiver::into_streamhas been removed.
- Remove all
-
0.3.222 Jan 2020Release notes
Open source →- Bugfix release.
Codec::encode_headercontained a hidden assumption that ausizewould be 8 bytes long, which is obviously only true on 64-bit architectures. See #18 for details.
- Bugfix release.
-
0.3.130 Dec 2019Release notes
Open source →- A method
into_innerto get back the socket has been added tohandshake::{Client, Server}.
- A method
-
0.3.020 Dec 2019Release notes
Open source →Update to use and work with async/await:
Connectionhas been split into aSenderandReceiverpair with async methods to send and receive data or control frames such as Pings or Pongs.connection::into_streamhas been added to get afutures::stream::Streamfrom aReceiver.- A
connection::Builderhas been added to setup connection parameters.handshake::Clientandhandshake::Serverno longer have aninto_connectionmethod, but aninto_builderone which returns theBuilderand allows further configuration. base::Datahas been moved todata. In additiondata::Incomingsupports control frame data.base::Codecno longer implementsEncoder/Decodertraits but has inherent methods for encoding and decoding websocket frame headers.base::Framehas been removed. Thebase::Codeconly deals with headers.- The
handshakemodule contains separate sub-modules forclientandserverhandshakes. Some handshake related types have been refactored slightly. Extensionsdecodemethods work on&mut BytesMutparameters instead ofData. Forencodea new typeStoragehas been added which unifies different types of data, i.e. shared, unique and owned data.
-
0.2.319 Aug 2019 -
0.2.225 Jun 2019Release notes
Open source →- Improved handshake header matching which is now more robust and can cope with repeated header names and comma separated values.
-
0.2.120 Jun 2019Release notes
Open source →- The DEFLATE extension now allows custom maximum window bits for client and server.
- Fix handling of reserved bits in base codec.
-
0.2.007 Jun 2019Release notes
Open source →- Change
Extensiontrait 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. - Limit the max. buffer size in
Connection(seeConnection::set_max_buffer_size).
- Change
-
0.1.005 Jun 2019 -
0.1.0-alpha.104 Jun 2019 pre-releaseNothing published for this version