Skip to content
ratranqu edited this page Jan 28, 2021 · 1 revision

Router

public protocol Router: class

Inheritance

class

Requirements

addRoute(path:​handler:​)

func addRoute(path: String, handler: @escaping Handler)

route(request:​path:​)

func route(request: Request, path: String) -> Handler?

Clone this wiki locally