Sellia::CLI::StoredRequest
Inherits JSON::Serializable / Struct / Value / Object
Represents a complete request/response pair for the inspector
Constructors
new(id : String, method : String, path : String, status_code : Int32, duration : Int64, timestamp : Time, request_headers : Hash(String, Array(String)), request_body : String | Nil, response_headers : Hash(String, Array(String)), response_body : String | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
duration
Sourceid
Sourcemethod
Sourcepath
Sourcerequest_body
Sourcerequest_headers
Sourceresponse_body
Sourceresponse_headers
Sourcestatus_code
Sourcetimestamp
Source