Module websocket

Module websocket 

Source
Expand description

NDN face over WebSocket (binary frames).

WebSocket provides its own message framing, so no TlvCodec is needed — each WebSocket binary message carries exactly one NDN packet (wrapped in NDNLPv2 LpPacket).

Supports both client-initiated (connect) and server-accepted (from_stream) connections. Compatible with NFD’s WebSocket face.

Structs§

WebSocketFace
NDN face over WebSocket with binary message framing.