Protocol
RoutesBuilder
protocol RoutesBuilder
Topics
Instance Methods
add(_:)delete(_:use:)get(_:use:)group(_:configure:)Creates a newRouterwrapped in the supplied array ofMiddleware.grouped(_:)Creates a newRouterwrapped in the supplied array ofMiddleware.on(_:_:body:use:)patch(_:use:)post(_:use:)put(_:use:)register(collection:)Registers all of the routes in the group to this router.responseCompression(_:force:)Override the response compression settings for a route.webSocket(_:maxFrameSize:shouldUpgrade:onUpgrade:)Adds a route for opening a web socket connection