interface ConnectionCloseEvent {
    reason?: string;
    terminate: boolean;
    type: "close";
}

Properties

reason?: string
terminate: boolean
type: "close"