class
Cryload::Request
- Cryload::Request
- Reference
- Object
Overview
Represents an HTTP request.
Defined in:
cryload/request.crConstant Summary
-
REDIRECT_STATUS_CODES =
{301, 302, 303, 307, 308}
Constructors
Instance Method Summary
Constructor Detail
def self.new(http_client, uri, method : String, headers : HTTP::Headers, body : String | Nil, timeout_seconds : Int32 | Nil = nil, insecure : Bool = false, follow_redirects : Bool = false, proxy : URI | Nil = nil)
#