class HTTPRecord

Included Modules

Defined in:

replay/http/record.cr

Constructors

Instance Method Summary

Instance methods inherited from module Record

entity : String entity, metadatas : JSON::Any metadatas, response(io : IO) response

Constructor Detail

def self.new(headers : HTTP::Headers, body : String, response_status : Int32, response : HTTP::Client::Response, request : Request) #

[View source]
def self.new(headers_content : IO, body_content : IO, request : Request) #

[View source]
def self.new(client_response : HTTP::Client::Response, request : Request) #

[View source]

Instance Method Detail

def entity : String #

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

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

[View source]
def request : Request #

[View source]
def response(io : IO) #

[View source]