class Cossack::TestConnection::RequestMatcher

Defined in:

cossack/connection/test_connection/request_matcher.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(method : String | Nil = nil, uri : URI | Nil | String | Nil = nil, headers : Hash(String, String) = {} of String => String, body : String | Nil = nil) #

[View source]

Instance Method Detail

def matches?(request : Request) #

[View source]