This Go library provides low-level components for implementing high-performance WebSocket connections. It focuses on minimal memory allocations and efficient data throughput via a dedicated frame processor, an HTTP connection upgrader, and a compression layer.
The project distinguishes itself through the use of zero-allocation buffer reuse to reduce garbage collection pressure. It operates directly on raw network bytes for frame parsing and manages the lifecycle of connections through state-based tracking.
The library covers core network protocol capabilities including the transformation of standard HTTP requests into persistent sockets, the application of compression algorithms to data streams, and the low-level processing of network packets.