Interface ConnectMessage

Represents the establishment of a new client connection. Includes client identification and process information.

interface ConnectMessage {
    action: CONNECT;
    id: string;
    pid: number;
}

Hierarchy

  • Pick<Required<BaseMessage>, "id" | "action" | "pid">
    • ConnectMessage

Properties

Properties

action: CONNECT

Specifies the type of action being performed

id: string

Unique identifier for the client connection

pid: number

Process ID of the connected client (platform-dependent availability)