struct MockServerClient::HttpRequest

Included Modules

Defined in:

mockserver/structs.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(method : String | Nil = nil, path : String | Nil = nil, body : BodyMatchers | Nil = nil, path_parameters : Hash(String, Array(String)) | Nil = nil, query_string_parameters : Hash(String, Array(String)) | Nil = nil, headers : Hash(String, Array(String)) | Nil = nil, cookies : Hash(String, String) | Nil = nil, socket_address : SocketAddress | Nil = nil, secure : Bool = false, keep_alive : Bool = true) #

[View source]

Instance Method Detail

def body : BodyMatchers | Nil #

def body! #

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

def cookies! #

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

def headers! #

[View source]
def keep_alive : Bool #

def method : String | Nil #

def method! #

[View source]
def path : String | Nil #

def path! #

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

def path_parameters! #

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

def query_string_parameters! #

[View source]
def secure : Bool #

def socket_address : SocketAddress | Nil #

def socket_address! #

[View source]