struct MockServerClient::HttpResponse

Included Modules

Defined in:

mockserver/structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def body : BodyResponses | Nil #

def body! #

[View source]
def connection_options : ConnectionOptions | Nil #

def connection_options! #

[View source]
def cookies : Hash(String, String) | Nil #

def cookies! #

[View source]
def delay : Delay | Nil #

def delay! #

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

def headers! #

[View source]
def status_code : Int32 | Nil #

def status_code! #

[View source]