class HTTPRequest
- HTTPRequest
- Reference
- Object
Included Modules
Defined in:
replay/http/request.crConstructors
- .new(id : String, base_uri : URI, path : String, method : String, headers : Hash(String, Array(String)), body : String, params : Hash(String, String))
- .new(http_request : HTTP::Request, base_uri : URI)
Instance Method Summary
- #base_index : String
- #body : String
- #headers : Hash(String, Array(String))
- #host_name : String
- #id_index : String
- #match_query(query : Array(String)) : Request | Nil
- #metadatas : JSON::Any
- #method : String
- #params : Hash(String, String)
- #path : String
- #proxy
- #score(other : Request) : Int32
Instance methods inherited from module Request
base_index : String
base_index,
id_index : String
id_index,
metadatas : JSON::Any
metadatas,
proxy
proxy,
score(other : Request) : Int32
score
Constructor Detail
def self.new(id : String, base_uri : URI, path : String, method : String, headers : Hash(String, Array(String)), body : String, params : Hash(String, String))
#