Skip to content

Documentation / @super-line/server / MiddlewareInfo

Interface: MiddlewareInfo

Defined in: index.ts:102

Context passed to middleware and lifecycle hooks about the current operation.

Properties

conn

conn: Conn

Defined in: index.ts:108

The connection the operation is on (conn.role available).


kind

kind: "subscribe" | "request"

Defined in: index.ts:104

Whether this is a request or a topic subscribe.


name

name: string

Defined in: index.ts:106

The request/topic name.

Released under the MIT License.