ReadonlyCLOSEDReadonlyCLOSINGReadonlyCONNECTINGReadonlyextensionsReadonlynameThe stream name this connection was opened against.
ReadonlyOPENReadonlyprotocolAlways empty: subprotocols and extensions are not negotiated.
ReadonlyurlOptionaloptions: boolean | AddEventListenerOptionsOptionaloptions: boolean | AddEventListenerOptionsClose the connection. Go's handler sees Receive fail and returns.
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Optionaloptions: boolean | EventListenerOptionsOptionaloptions: boolean | EventListenerOptions
The object-shaped view of a stream returned by JSONStream:
sendtakes a value to stringify, andev.dataon a message is the parsed result.