sta/websocket-sharp

A C# implementation of the WebSocket protocol client and server

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 31 minutes ago
Added to GitGenius on September 11th, 2026
Created on October 18th, 2010
Open Issues & Pull Requests: 559 (+0)
GitHub issues: Enabled
Number of forks: 1,683
Total Stargazers: 6,077 (+0)
Total Subscribers: 289 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.1 days
Mean response time: 258.3 days
90th percentile: 1875.9 days
Tracked items: 19

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 19
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,888 days
Stale 30+ days: 19
Stale 90+ days: 19

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

websocket-sharp is a C# implementation of the WebSocket protocol for building client and server applications.

The tool addresses the need for WebSocket communication in .NET environments by providing a complete implementation of RFC 6455. It handles the WebSocket handshake, message framing, and connection lifecycle, allowing developers to establish bidirectional communication channels between clients and servers. The implementation supports both text and binary message types, with events for connection open, message receipt, and error conditions.

Developers should choose this tool if they are building .NET applications requiring WebSocket functionality and prefer a self-contained library over platform-provided alternatives. It suits projects targeting .NET Framework or compatible environments like Mono, and works with Unity by adding the compiled assembly to the project plugins folder. The tool supports per-message compression, secure connections, HTTP authentication, proxy connections, and custom headers including cookies and origin validation. It is available both as a self-built assembly and through NuGet as a prerelease package.

The project maintains a single production branch for releases while preserving historical branches for obsolete WebSocket protocol drafts that are no longer maintained. Development uses MonoDevelop for building the single websocket-sharp.dll assembly, with straightforward compilation from the provided solution file.