RouterMiddleware

Undocumented

  • The handle operation

    Parameter

    Parameter request: the router request

    Parameter

    Parameter response: the router response

    Parameter

    Parameter next: the closure to the next operation

    Declaration

    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