struct MockServerClient::HttpRequest
- MockServerClient::HttpRequest
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
mockserver/structs.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #body : BodyMatchers | Nil
- #body!
- #cookies : Hash(String, String) | Nil
- #cookies!
- #headers : Hash(String, Array(String)) | Nil
- #headers!
- #keep_alive : Bool
- #method : String | Nil
- #method!
- #path : String | Nil
- #path!
- #path_parameters : Hash(String, Array(String)) | Nil
- #path_parameters!
- #query_string_parameters : Hash(String, Array(String)) | Nil
- #query_string_parameters!
- #secure : Bool
- #socket_address : SocketAddress | Nil
- #socket_address!
Constructor Detail
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)
#