OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

ruby34-websocket-driver-0.7.6

implementation of the WebSocket protocol for ruby

Back to search · Project homepage

Description

This module provides a complete implementation of the WebSocket protocols that can be hooked up to any TCP library. It aims to simplify things by decoupling the protocol details from the I/O layer, such that users only need to implement code to stream data in and out of it without needing to know anything about how the protocol actually works. Think of it as a complete WebSocket system with pluggable I/O. Due to this design, you get a lot of things for free. In particular, if you hook this module up to some I/O object, it will do all of this for you: * Select the correct server-side driver to talk to the client * Generate and send both server- and client-side handshakes * Recognize when the handshake phase completes and the WS protocol begins * Negotiate subprotocol selection based on Sec-WebSocket-Protocol * Negotiate and use extensions via the websocket-extensions module * Buffer sent messages until the handshake process is finished * Deal with proxies that defer delivery of the draft-76 handshake body * Notify you when the socket is open and closed and when messages arrive * Recombine fragmented messages * Dispatch text, binary, ping and close frames * Manage the socket-closing handshake process * Automatically reply to ping frames with a matching pong * Apply masking to messages sent by the client

Package information

Ports path
www/ruby-websocket-driver,ruby34
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
www, lang/ruby
Available flavors
ruby33, ruby34, ruby40
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Runtime

Build

Installing and updating packages · Package details as JSON