Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Pact::Crystal::Consumer::Dsl::HttpRequestBuilder
Inherits
Reference
<
Object
Constructors
new
(pact_handle :
LibPactFfi::PactHandle
, interaction_handle :
LibPactFfi::InteractionHandle
, method :
String
, path :
String
)
Source
Instance methods
body
(body :
String
, content_type :
String
|
Nil
= nil) :
HttpResponseBuilder
Source
header
(name :
String
, value :
String
|
Array
(
String
)) :
HttpRequestBuilder
Source