Pact. PactVerifier. ProviderTransport
(pact_verifier_ex v0.1.6)
Copy Markdown
Information about the Provider transport to verify.
Fields:
- transport: Protocol Transport
- port: Port to use for the transport
- path: Base path to use for the transport (for protocols that support paths)
- scheme: Transport scheme to use. Will default to HTTP
Summary
Types
Functions
Calculate a base URL for the transport.
Parameters
- provider_transport: The transport struct
- hostname: The hostname to use
Returns
- The base URL as a string
@spec default() :: t()
Create a default provider transport struct.