awesome-repositories.com
Blog
MCP
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sta avatar

sta/websocket-sharp

0
View on GitHub↗
6,067 stars·1,684 forks·C#·MIT·21 viewssta.github.io/websocket-sharp↗

Websocket Sharp

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, path-based service routing, and the ability to broadcast messages to multiple clients. It includes support for managing handshake metadata and payload compression to reduce data transfer size.

Features

  • WebSocket Clients and Servers - Provides a comprehensive C# implementation for establishing persistent WebSocket connections as a client.
  • Real-Time Web Communication - Establishes persistent bidirectional connections for live data exchange between endpoints.
  • Binary Protocols - Implements the low-level binary framing required by the WebSocket protocol for efficient data transmission.
  • WebSocket Servers - Implements a server that manages persistent bidirectional communication channels for real-time data exchange.
  • Handshake Upgrade Handlers - Uses specialized handlers to negotiate the initial HTTP upgrade handshake for establishing bidirectional WebSocket streams.
  • HTTP/2 and WebSocket Servers - Integrates WebSocket services into a standard HTTP server to handle requests on specific URL paths.
  • WebSocket Service Routings - Maps specific URL endpoints to individual socket handlers to support multiple distinct services on one server.
  • TCP Socket Programming - Directly manages raw TCP sockets to handle the binary streaming requirements of the protocol.
  • WebSocket Clients - Provides a library for establishing and managing bidirectional WebSocket connections and frame handling.
  • SSL/TLS Connection Security - Implements a secure transport layer to encrypt data and validate server certificates between clients and servers.
  • Transport Layer Encryption - Provides a secure transport layer using SSL/TLS to encrypt data in transit and validate certificates.
  • WebSocket Security - Provides security controls for persistent connections, including SSL/TLS encryption and certificate validation.
  • WebSocket Path Routings - Directs incoming WebSocket upgrade requests to specific handlers based on the request URI path.
  • Broadcast Messaging - Enables sending a single data payload to all currently connected client sessions on the server.
  • WebSocket Frame Compression - Implements WebSocket frame compression via deflate extensions to reduce network bandwidth usage.
  • WebSocket Proxy Tunneling - Provides a mechanism to route WebSocket traffic through intermediary proxy servers using Basic or Digest authentication.
  • WebSocket CONNECT Tunnels - Routes WebSocket connections through HTTP proxies using the CONNECT method with authentication support.
  • Proxy Server Routing - Allows WebSocket clients to route network traffic through an intermediary proxy server to reach endpoints.
  • WebSocket Payload Compressions - Provides payload compression via negotiated handshake extensions to reduce data transfer size.
  • Proxy-Routed - Provides the ability for WebSocket clients to route connections through HTTP proxies to bypass network restrictions.
  • WebSocket Handshake Authentications - Provides mechanisms to attach Basic or Digest authentication credentials to the initial WebSocket upgrade handshake.
  • HTTP Authentication Schemes - Implements standard HTTP authentication methods such as Basic and Digest for the connection process.
  • Request Authentications - Verifies identity using standard security schemes during the HTTP request transmission for connection handshakes.
  • Event-Driven Callbacks - Implements an event-driven callback model to handle network events like connection opens and message arrivals.
  • Networking Libraries - WebSocket protocol implementation.
  • WebSockets and Real-time - WebSocket protocol client and server implementation.

Star history

Star history chart for sta/websocket-sharpStar history chart for sta/websocket-sharp

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

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

Frequently asked questions

What does sta/websocket-sharp do?

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.

What are the main features of sta/websocket-sharp?

The main features of sta/websocket-sharp are: WebSocket Clients and Servers, Real-Time Web Communication, Binary Protocols, WebSocket Servers, Handshake Upgrade Handlers, HTTP/2 and WebSocket Servers, WebSocket Service Routings, TCP Socket Programming.

Which projects share features with sta/websocket-sharp?

Projects with overlapping indexed features include: tootallnate/java-websocket — Java-WebSocket is a collection of classes for implementing WebSocket clients and servers using pure Java. It provides… theturtle32/websocket-node — WebSocket-Node is a server-side implementation of the WebSocket protocol for Node.js environments. It serves as a… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… yhirose/cpp-httplib — This is a header-only C++ library that provides implementations for HTTP clients, HTTP servers, and a WebSocket… facebookincubator/socketrocket — SocketRocket is an Objective-C WebSocket client library designed to establish bidirectional real-time communication…

Projects sharing features with Websocket Sharp

These projects share indexed features with Websocket Sharp. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • tootallnate/java-websocketTooTallNate avatar

    TooTallNate/Java-WebSocket

    10,811View on GitHub↗

    Java-WebSocket is a collection of classes for implementing WebSocket clients and servers using pure Java. It provides a framework for hosting servers that manage connections via event-driven subclasses and tools for establishing client connections to remote servers. The library includes a secure communication tool for encrypting traffic using the WSS protocol and a compression library that uses per-message deflate extensions to reduce transmitted data size. It supports the configuration of cipher suites to limit encryption protocols and ensure compatible communication. The project enables bi

    Java
    View on GitHub↗10,811
  • 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
  • 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
  • ithewei/libhvithewei avatar

    ithewei/libhv

    7,521View on GitHub↗

    libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered

    Ccurlepollhttp-client
    View on GitHub↗7,521
Compare all 30 related projects→