Context @HttpRequest



↪ id: u128
↪ method: HttpMethod (http/method::HttpMethod)
↪ parameters: Map (std/data::Map)
↪ path: string
↪ route: string

Describes HTTP request data.

  • id: identifier of connection, it is an arbitrary number that uniquely identifies a HTTP connection to a server.
  • route: the route used by the request.
  • path: the path called by the request.
  • parameters: the parameters from the route.
  • method: the HTTP method used by the request.