class HTTPRequest

Included Modules

Defined in:

replay/http/request.cr

Constructors

Instance Method Summary

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)) #

[View source]
def self.new(http_request : HTTP::Request, base_uri : URI) #

[View source]

Instance Method Detail

def base_index : String #

[View source]
def body : String #

[View source]
def headers : Hash(String, Array(String)) #

[View source]
def host_name : String #

[View source]
def id_index : String #

[View source]
def match_query(query : Array(String)) : Request | Nil #

[View source]
def metadatas : JSON::Any #

[View source]
def method : String #

[View source]
def params : Hash(String, String) #

[View source]
def path : String #

[View source]
def proxy #

[View source]
def score(other : Request) : Int32 #

[View source]