Service. IMiddleware

Members

(static) ConfigSchema :Object

Joi validator that describes any expected config for this middleware

Type:
  • Object

(static) Description :string

Type:
  • string

(static) info :module:Service.IMiddleware.MiddlewareInfo

(static) Name :string

Type:
  • string

(static) Type

Type of middleware. Allowed values are pre or post

Methods

(async, static) run(context)

Parameters:
NameTypeDescription
contextmodule:Service.EndpointContext
options.Config*

The config options set for this instance of middleware

(async, static) start(party)

Parameters:
NameTypeDescription
partymodule:Party.IParty

Type Definitions

MiddlewareInfo

Type:
  • Object
Properties
NameTypeDescription
Namestring
Typestring
Descriptionstring
ConfigSchemaObject