Skip to content

Documentation / @super-line/core / ConnView

Interface: ConnView

Defined in: packages/core/src/inspector.ts:50

A connection's detail — what getConn returns. ctx/data are node-local and best-effort safe-serialized.

Properties

ctx?

optional ctx?: unknown

Defined in: packages/core/src/inspector.ts:53

Safe-serialized auth ctx; present only when the conn is on the queried node.


ctxAvailable

ctxAvailable: boolean

Defined in: packages/core/src/inspector.ts:57

Whether ctx/data could be read (false for conns on another node).


data?

optional data?: unknown

Defined in: packages/core/src/inspector.ts:55

Safe-serialized conn.data; present only when the conn is on the queried node.


descriptor

descriptor: ConnDescriptor

Defined in: packages/core/src/inspector.ts:51

Released under the MIT License.