struct MockServerClient::Expectation
- MockServerClient::Expectation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
mockserver/structs.crConstructors
- .new(pull : JSON::PullParser)
- .new(http_request : HttpRequest | Nil = nil, http_response : HttpResponse | Nil = nil, http_forward : HttpForward | Nil = nil, http_override_forward : HttpOverrideForward | Nil = nil, id : String | Nil = nil, times : Times | Nil = nil, priority : Int32 | Nil = nil)
Instance Method Summary
- #http_forward : HttpForward | Nil
- #http_forward!
- #http_override_forward : HttpOverrideForward | Nil
- #http_override_forward!
- #http_request : HttpRequest | Nil
- #http_request!
- #http_response : HttpResponse | Nil
- #http_response!
- #id : String | Nil
- #id!
- #priority : Int32 | Nil
- #priority!
- #times : Times | Nil
- #times!
Constructor Detail
def self.new(http_request : HttpRequest | Nil = nil, http_response : HttpResponse | Nil = nil, http_forward : HttpForward | Nil = nil, http_override_forward : HttpOverrideForward | Nil = nil, id : String | Nil = nil, times : Times | Nil = nil, priority : Int32 | Nil = nil)
#