awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
websockets avatar

websockets/ws

0
View on GitHub↗
22,768 Stars·2,554 Forks·JavaScript·MIT·3 Aufrufe

Ws

This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the WebSocket protocol. It functions as a transport layer for real-time bidirectional communication, supporting both UTF-8 strings and binary data transport through the use of TCP socket wrappers.

The library enables the creation of WebSocket servers that manage full-duplex connections and broadcast messages to multiple clients, as well as WebSocket clients that establish persistent links to remote servers. It handles the protocol upgrade process via TCP-based handshake negotiation and provides a networking layer that wraps raw sockets into duplex streams.

The implementation covers a range of network management capabilities, including per-message payload compression for bandwidth optimization and ping-pong heartbeat mechanisms for connection health monitoring. It also includes security primitives for handshake validation and connection authentication, alongside utilities for data flow control and inter-process communication using UNIX domain sockets.

Features

  • Real-Time Web Communication - Provides a high-performance transport layer for instant, two-way data exchange between servers and clients.
  • WebSocket Servers - Provides a high-performance server that manages full-duplex communication and persistent connections for multiple clients.
  • Websocket Connection Managers - Implements a client for establishing persistent bidirectional connections to remote servers using URLs and custom headers.
  • Data Framing - Decodes incoming data into discrete WebSocket frames to separate protocol control signals from data payloads.
  • WebSocket Servers - Provides a server implementation that manages multiple simultaneous full-duplex connections and broadcasts messages.
  • Multi-Format Data Transports - Supports sending and receiving messages using either UTF-8 strings or binary buffers and typed arrays.
  • Protocol Upgrade Negotiators - Handles the protocol upgrade process that transitions standard HTTP requests into persistent bidirectional WebSocket connections.
  • WebSocket Clients - Implements a WebSocket client for establishing persistent bidirectional connections to remote servers.
  • Payload Transmissions - Sends and receives text or binary data over connections with support for fragmentation and compression.
  • Node.js Network Libraries - Implements a high-performance WebSocket client and server specifically tailored for the Node.js runtime.
  • Heartbeat Monitors - Exchanges ping and pong control frames to monitor connection vitality and detect silent timeouts.
  • Broadcast Messaging Channels - Supports sending a single data payload to all connected clients or excluding the original sender.
  • Flow Control Mechanisms - Provides mechanisms to pause and resume event emission to manage backpressure and processing speed.
  • Network Data Compression - Applies deflation algorithms to individual message frames to reduce bandwidth consumption during high-volume transmission.
  • Socket Wrappers - Wraps raw TCP sockets into duplex streams to ensure compatibility with standard pipe APIs.
  • Duplex Socket Wrappers - Wraps raw TCP sockets into standard duplex stream interfaces to enable seamless data piping.
  • Duplex Stream Wrappers - Wraps connections in a duplex stream to ensure compatibility with standard pipe and stream APIs.
  • Transport Layers - Serves as a transport layer supporting both UTF-8 strings and binary buffers for real-time data exchange.
  • Connection Authentication Mechanisms - Provides server-side validation of client identities during the WebSocket upgrade process.
  • Handshake Validations - Inspects request headers and origins during the protocol upgrade to accept or reject connections.
  • Event-Driven Signal Systems - Utilizes an emitter pattern to signal asynchronous connection states and data arrival across network sockets.
  • Connection Health Monitors - Monitors connection health using automated ping and pong frame exchanges to prevent timeouts.
  • Binary Data Handling - Implements efficient handling of binary data using typed arrays and buffers to minimize string encoding overhead.
  • Networking and Real-time - Provides a fast WebSocket client and server.
  • Real Time Communication - Fast and tested WebSocket client and server library.

Star-Verlauf

Star-Verlauf für websockets/wsStar-Verlauf für websockets/ws

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Ws

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Ws.
  • yhirose/cpp-httplibAvatar von yhirose

    yhirose/cpp-httplib

    16,597Auf GitHub ansehen↗

    This is a header-only C++ library that provides implementations for HTTP clients, HTTP servers, and a WebSocket framework. It allows for the creation of network services and the consumption of remote APIs without requiring a separate compilation step or external binary linking. The project features backend-agnostic TLS integration for secure HTTPS and WSS communication and employs a thread-pool model to process concurrent requests. It distinguishes itself with a full-duplex WebSocket state-machine and a middleware-based request pipeline that supports regular-expression path routing. The libr

    C++
    Auf GitHub ansehen↗16,597
  • ghedipunk/php-websocketsAvatar von ghedipunk

    ghedipunk/PHP-Websockets

    917Auf GitHub ansehen↗

    PHP-Websockets is a network programming library that provides a persistent server implementation for handling bidirectional real-time communication. It functions as a framework for managing asynchronous data exchange between web clients and server-side application logic, enabling the development of responsive systems that react to incoming messages. The library facilitates the hosting of WebSocket servers by managing persistent connections and pushing live updates to users. It handles the technical requirements of the protocol, including the validation of upgrade requests through handshake ne

    PHP
    Auf GitHub ansehen↗917
  • unetworking/uwebsocketsAvatar von uNetworking

    uNetworking/uWebSockets

    18,888Auf GitHub ansehen↗

    uWebSockets is a high-performance networking engine providing an HTTP web server and a WebSocket server framework. It implements a multi-threaded event loop architecture to deploy isolated application instances across multiple CPU cores and includes an SSL/TLS network layer for secure, encrypted communication. The project features a dedicated WebSocket pub/sub engine for distributing messages to specific groups of connected clients. It optimizes network throughput through syscall corking to reduce kernel overhead and employs payload compression to minimize data transfer sizes. The system cov

    C++commercialcross-platformhttp
    Auf GitHub ansehen↗18,888
  • daltoniam/starscreamAvatar von daltoniam

    daltoniam/Starscream

    8,639Auf GitHub ansehen↗

    Starscream is a Swift WebSocket client library that provides a concrete implementation of the WebSocket protocol for iOS and macOS applications. It functions as an event-driven wrapper for establishing and managing bidirectional connections to send and receive text and binary frames over TCP. The library includes a secure WebSocket client capable of encrypting traffic and validating server identities. It manages the full connection lifecycle, from the initial handshake and header exchange to session termination with custom close codes. The project covers a broad range of networking capabilit

    Swift
    Auf GitHub ansehen↗8,639
Alle 30 Alternativen zu Ws anzeigen→

Häufig gestellte Fragen

Was macht websockets/ws?

This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the WebSocket protocol. It functions as a transport layer for real-time bidirectional communication, supporting both UTF-8 strings and binary data transport through the use of TCP socket wrappers.

Was sind die Hauptfunktionen von websockets/ws?

Die Hauptfunktionen von websockets/ws sind: Real-Time Web Communication, WebSocket Servers, Websocket Connection Managers, Data Framing, Multi-Format Data Transports, Protocol Upgrade Negotiators, WebSocket Clients, Payload Transmissions.

Welche Open-Source-Alternativen gibt es zu websockets/ws?

Open-Source-Alternativen zu websockets/ws sind unter anderem: yhirose/cpp-httplib — This is a header-only C++ library that provides implementations for HTTP clients, HTTP servers, and a WebSocket… ghedipunk/php-websockets — PHP-Websockets is a network programming library that provides a persistent server implementation for handling… unetworking/uwebsockets — uWebSockets is a high-performance networking engine providing an HTTP web server and a WebSocket server framework. It… theturtle32/websocket-node — WebSocket-Node is a server-side implementation of the WebSocket protocol for Node.js environments. It serves as a… daltoniam/starscream — Starscream is a Swift WebSocket client library that provides a concrete implementation of the WebSocket protocol for… olahol/melody — Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions…