RouterMiddleware
Undocumented
-
The handle operation
Parameter
Parameter request: the router requestParameter
Parameter response: the router responseParameter
Parameter next: the closure to the next operationDeclaration
Swift
func handle(request: RouterRequest, response: RouterResponse, next: () -> Void) throws
Parameters
request
the router request
response
the router response
next
the closure to the next operation