Hyperlinkv0.8.0-beta.28

Node

Node.ProtocolKindtypesrc/internal/nodeCore.ts:61
ProtocolKind

The transport a Node speaks — tag-style names (apps rarely type this alias; they write the literals or get inference from url / path):

  • "Http"RpcClient.layerProtocolHttp (servers / CLIs)
  • "WebSocket" — browser WS (layerProtocolWebsocket / client layerProtocolSocket over WS)
  • "IpcSocket" — Unix-domain socket (same-machine; see ipcServer)

Stamped on the node so the topology is self-describing about how to reach it — connect/client derive the transport from it. Inferred from a ws(s):// url, an http target, or { path } → IpcSocket; otherwise declare it explicitly.

modelsNodeipcServer
export type ProtocolKind = "Http" | "WebSocket" | "IpcSocket";
Referenced by 13 symbols