src/prologue/core/middlewaresbase

Search:
Group by:
Source   Edit  

Types

SubContext = concept ctx
    ctx is Context
Source   Edit  

Procs

proc doNothingClosureMiddleware(): HandlerAsync {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc extendContextMiddleWare[T: SubContext](ctxType: typedesc[T]): HandlerAsync {.
    ...deprecated.}
Deprecated
Source   Edit  
proc switch(ctx: Context): owned(Future[void]) {....stackTrace: false,
    raises: [Exception], tags: [RootEffect], forbids: [].}
Switch the control to the next handler. Source   Edit