struct MockServerClient::HttpResponse
- MockServerClient::HttpResponse
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
mockserver/structs.crConstructors
- .new(pull : JSON::PullParser)
- .new(status_code : Int32 | Nil = nil, body : BodyResponses | Nil = nil, headers : Hash(String, Array(String)) | Nil = nil, cookies : Hash(String, String) | Nil = nil, connection_options : ConnectionOptions | Nil = nil, delay : Delay | Nil = nil)
Instance Method Summary
- #body : BodyResponses | Nil
- #body!
- #connection_options : ConnectionOptions | Nil
- #connection_options!
- #cookies : Hash(String, String) | Nil
- #cookies!
- #delay : Delay | Nil
- #delay!
- #headers : Hash(String, Array(String)) | Nil
- #headers!
- #status_code : Int32 | Nil
- #status_code!
Constructor Detail
def self.new(status_code : Int32 | Nil = nil, body : BodyResponses | Nil = nil, headers : Hash(String, Array(String)) | Nil = nil, cookies : Hash(String, String) | Nil = nil, connection_options : ConnectionOptions | Nil = nil, delay : Delay | Nil = nil)
#