Skip to main content
Defined in: modules/editor/src/protocol.ts:185

Properties

clientId?

optional clientId?: string
Defined in: modules/editor/src/protocol.ts:189 Server side: the client the packet goes to or comes from.

data?

optional data?: string
Defined in: modules/editor/src/protocol.ts:194 The first maxBytes bytes, hex encoded (when the editor asked for them).

direction

direction: "in" | "out"
Defined in: modules/editor/src/protocol.ts:186
head: string
Defined in: modules/editor/src/protocol.ts:192 First bytes, hex encoded.

size

size: number
Defined in: modules/editor/src/protocol.ts:190

time

time: number
Defined in: modules/editor/src/protocol.ts:196 ms since epoch.

transport

transport: "tcp" | "udp"
Defined in: modules/editor/src/protocol.ts:187