src/prologue/middlewares/utils

Source   Edit  

Procs

proc debugRequestMiddleware(appName = "Prologue"): HandlerAsync {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc debugResponseMiddleware(appName = "Prologue"): HandlerAsync {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc httpRedirectMiddleWare(): HandlerAsync {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc isStaticFile(path: string; dirs: openArray[string]): tuple[hasValue: bool,
    filename, dir: string] {....raises: [], tags: [ReadDirEffect], forbids: [].}
Source   Edit  
proc loggingMiddleware(appName = "Prologue"): HandlerAsync {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc stripPathMiddleware(appName = "Prologue"): HandlerAsync {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc testMiddleware(): HandlerAsync {....raises: [], tags: [], forbids: [].}
Source   Edit