Skip to content

procxy / HandleMessage

Interface: HandleMessage

Defined in: src/shared/protocol.ts:205

Handle transmission message sent from parent to child. Notifies child that a handle (socket, server, file descriptor) is being sent. The actual handle is passed separately via Node.js child.send(message, handle).

Properties

PropertyTypeDescriptionDefined in
handleIdstringUnique identifier used to pair this message with the subsequent HandleAcksrc/shared/protocol.ts:209
handleType"socket" | "server" | "dgram" | "fd"Runtime type of the transferred handle, used by the child to route it correctlysrc/shared/protocol.ts:211
type"HANDLE"Discriminant: always 'HANDLE'src/shared/protocol.ts:207

Released under the MIT License.