Skip to content

@saflib/express


Function: createGlobalMiddleware()

createGlobalMiddleware(options): Handler[]

Middleware which should be put at the top of the middleware stack, and run for every request.

Parameters

ParameterType
optionsGlobalMiddlewareOptions

Returns

Handler[]