Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src

Index

Type aliases

MessageHandler

MessageHandler: (ctx: Context) => void

Handler function for incoming messages and response (including one for streams)

Type declaration

ReadableHandler

ReadableHandler: (ctx: ContextForReadable, cb: RequestCallback) => void

Handler function for incoming requests to establish binary stream session. This end if the stream will be readable

Type declaration

RequestCallback

RequestCallback: (err: Error | null, data: sendableData) => void

Function used to handle incoming requests

Type declaration

RequestHandler

RequestHandler: (ctx: Context, cb: RequestCallback) => void

Handler function for incoming requests

Type declaration

WritableHandler

WritableHandler: (ctx: ContextForWritable, cb: RequestCallback) => void

Handler function for incoming requests to establish binary stream session. This end if the stream will be writable

Type declaration

sendableData

sendableData: sendableDatum | sendableDatum[]

Any data which can be sent except functions

Functions

Let Singleton

Generated using TypeDoc