Skip to content

WebSocket

In std/io/net.

type WebSocket : {Readable, Writable} { url : String }

A WebSocket connection to url: each message is a document, read as it arrives and written as it is sent.