version 1 . Method = =GET / =HEAD / =POST / =PUT / =DELETE / =CONNECT / =OPTIONS / =TRACE / =PATCH . Methods = #{Method} . ; A URL path split into elements Path = [string ...] . Listener = . ; Register an entity that will handle requests at path prefix. ; TODO: assert the public base URL of the handler to the entity. Handler = . Headers = {string: [string ...] ...:...} . ; A request awaiting a response at handle. ; TODO: query parameters Request = . ; A response to handle. Response = .