awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
websockets-rs avatar

websockets-rs/rust-websocket

0
View on GitHub↗
1,609 stars·224 forks·Rust·MIT·3 viewswebsockets-rs.github.io/rust-websocket↗

Rust Websocket

This project is a library for establishing bidirectional, real-time communication channels between clients and servers using the WebSocket protocol. It provides a foundational toolkit for managing persistent network connections and processing data frames in accordance with the RFC 6455 standard.

The library distinguishes itself through its focus on low-level control and network efficiency. It utilizes an asynchronous, event-driven architecture to manage multiple concurrent connections without requiring dedicated threads for each session. Developers can fine-tune data transmission through manual frame fragmentation, buffered stream processing, and per-message deflation compression to optimize bandwidth usage and throughput.

The framework also includes integrated support for transport layer security, enabling the creation of encrypted and authenticated communication channels. It provides utilities for configuring low-level socket parameters and managing the state-machine-based parsing of incoming byte streams to ensure reliable data exchange in high-volume network environments.

Features

  • Real-Time Web Communication - Enables real-time web communication via bidirectional, low-latency WebSocket connections.
  • Asynchronous Network Frameworks - Provides an asynchronous network framework for managing concurrent connections and high-volume data streams.
  • WebSocket Frame Processors - Provides low-level utilities for reading, writing, and fragmenting WebSocket data frames to optimize network throughput and memory usage.
  • WebSocket Connection Management - Manages the lifecycle of persistent, bidirectional WebSocket connections for reliable data exchange.
  • WebSocket Libraries - Provides a foundational library for establishing bidirectional WebSocket communication channels using the RFC 6455 standard.
  • Transport Layer Security - Integrates transport layer security to provide encrypted and authenticated communication channels.
  • Protocol Parsing - Uses state-machine-based parsing to process incoming byte streams into structured WebSocket frames.
  • Per-Message Deflate Extensions - Supports per-message deflate compression to reduce bandwidth usage for individual WebSocket messages.
  • Secure - Secures WebSocket communication by encrypting data streams with transport layer security.
  • High-Performance Networking - Optimized for high-performance networking to handle large volumes of concurrent connections with minimal overhead.
  • Payload Optimization - Optimizes network protocols through fragmentation, compression, and buffering to maximize efficiency.
  • Non-Blocking Socket I/O - Implements non-blocking socket I/O to handle concurrent network connections efficiently without thread-per-connection overhead.
  • Message Fragmentations - Provides primitives for splitting large payloads into smaller WebSocket frames to manage memory and throughput.
  • WebSocket Payload Compressions - Reduces transmitted data size through per-message deflation compression for WebSocket payloads.
  • Secure Network Communication - Ensures secure network messaging through encrypted and authenticated data streams.
  • Transport Layer Encryption - Secures data transmission between endpoints using transport layer security for private and authenticated exchanges.
  • Event-Driven Networking Architectures - Utilizes evented networking to manage concurrent connections efficiently within a single execution thread.

Star history

Star history chart for websockets-rs/rust-websocketStar history chart for websockets-rs/rust-websocket

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Rust Websocket

Hand-picked collections where Rust Websocket appears.
  • Socket networking libraries

Open-source alternatives to Rust Websocket

Similar open-source projects, ranked by how many features they share with Rust Websocket.
  • boostorg/beastboostorg avatar

    boostorg/beast

    4,801View on GitHub↗

    Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati

    C++asioasync-programmingboost
    View on GitHub↗4,801
  • theturtle32/websocket-nodetheturtle32 avatar

    theturtle32/WebSocket-Node

    3,784View on GitHub↗

    WebSocket-Node is a server-side implementation of the WebSocket protocol for Node.js environments. It serves as a framework for establishing persistent, bidirectional communication channels and low-latency data exchange between clients and servers. The project provides a secure socket implementation using transport layer security and includes an integrated client for establishing outbound encrypted connections. It utilizes a formal protocol-state machine and an event-driven connection framework to manage high-concurrency network streams. The framework covers server-side infrastructure includ

    JavaScript
    View on GitHub↗3,784
  • zaphoyd/websocketppzaphoyd avatar

    zaphoyd/websocketpp

    7,702View on GitHub↗

    This is a header-only C++ library and asynchronous network framework used to implement WebSocket clients and servers. It provides a full implementation of the WebSocket protocol, including handshakes, subprotocol negotiation, and frame parsing. The framework is distinguished by a policy-based transport layer and template-driven protocol negotiation, allowing the underlying network implementation to be swapped between raw buffers, streams, or custom policies. It supports per-message deflate compression to reduce data transmission volume and integrates Transport Layer Security for encrypted bid

    C++
    View on GitHub↗7,702
  • sta/websocket-sharpsta avatar

    sta/websocket-sharp

    6,067View on GitHub↗

    websocket-sharp is a C# library implementation of the WebSocket protocol used for building bidirectional client and server applications. It enables real-time data exchange between endpoints via persistent connections. The library provides specialized networking capabilities, including SSL encrypted networking for secure transport and certificate validation. It also features HTTP proxy tunneling to route traffic through intermediary servers using basic or digest authentication. The project covers a broad range of capabilities, including the implementation of both WebSocket clients and servers

    C#
    View on GitHub↗6,067
See all 30 alternatives to Rust Websocket→

Frequently asked questions

What does websockets-rs/rust-websocket do?

This project is a library for establishing bidirectional, real-time communication channels between clients and servers using the WebSocket protocol. It provides a foundational toolkit for managing persistent network connections and processing data frames in accordance with the RFC 6455 standard.

What are the main features of websockets-rs/rust-websocket?

The main features of websockets-rs/rust-websocket are: Real-Time Web Communication, Asynchronous Network Frameworks, WebSocket Frame Processors, WebSocket Connection Management, WebSocket Libraries, Transport Layer Security, Protocol Parsing, Per-Message Deflate Extensions.

What are some open-source alternatives to websockets-rs/rust-websocket?

Open-source alternatives to websockets-rs/rust-websocket include: boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… theturtle32/websocket-node — WebSocket-Node is a server-side implementation of the WebSocket protocol for Node.js environments. It serves as a… zaphoyd/websocketpp — This is a header-only C++ library and asynchronous network framework used to implement WebSocket clients and servers.… sta/websocket-sharp — websocket-sharp is a C# library implementation of the WebSocket protocol used for building bidirectional client and… warmcat/libwebsockets — libwebsockets is an event-driven networking framework written in C. It provides a suite of tools for implementing HTTP… netty/netty — Netty is an asynchronous network framework designed for building scalable protocol servers and clients. It utilizes an…