fake_server v2.1.0 FakeServer.Request

Stores some information about a request when it arrives the server.

Structure Fields:

  • method: a string with the HTTP request method.
  • body: a string with the body of the request.
  • headers: a map with the request headers.
  • path: a string with the request path.
  • cookies: a map with the request cookies.
  • query_string: a string with the query_string.
  • query: a map with each one of the parameters from the query string.