class HTTP::Request
- HTTP::Request
- Reference
- Object
Overview
An HTTP request.
It serves both to perform requests by an HTTP::Client
and to
represent requests received by an HTTP::Server
.
A request always holds an IO
as a body.
When creating a request with a String
or Bytes
its body
will be a IO::Memory
wrapping these, and the Content-Length
header will be set appropriately.
Defined in:
runcobo/extensions/http.crruncobo/extensions/request.cr
Instance Method Summary
- #request_id : UUID?
- #request_id=(request_id : UUID?)
- #route_params : Hash(String, String)
- #route_params=(route_params : Hash(String, String))