class HTTPRecord
- HTTPRecord
- Reference
- Object
Included Modules
Defined in:
replay/http/record.crConstructors
- .new(headers : HTTP::Headers, body : String, response_status : Int32, response : HTTP::Client::Response, request : Request)
- .new(headers_content : IO, body_content : IO, request : Request)
- .new(client_response : HTTP::Client::Response, request : Request)
Instance Method Summary
- #entity : String
- #match_query(query : Array(String)) : Record | Nil
- #metadatas : JSON::Any
- #request : Request
- #response(io : IO)
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)
#