interface ConnectionClosedEvent {
    origin: "local" | "remote";
    reason: string;
    type: "closed";
}

Properties

Properties

origin: "local" | "remote"
reason: string
type: "closed"