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
| Property | Type | Description | Defined in |
|---|---|---|---|
handleId | string | Unique identifier used to pair this message with the subsequent HandleAck | src/shared/protocol.ts:209 |
handleType | "socket" | "server" | "dgram" | "fd" | Runtime type of the transferred handle, used by the child to route it correctly | src/shared/protocol.ts:211 |
type | "HANDLE" | Discriminant: always 'HANDLE' | src/shared/protocol.ts:207 |