public HttpTransport(HttpClient httpClient, IPayloadFormat payloadFormat, ITransportMatchers matchers = null) { Format = new HttpTransportFormat(payloadFormat); Matchers = matchers ?? new HttpTransportMatchers(); this.httpClient = httpClient; this.payloadFormat = payloadFormat; }
public HttpMockServer(Pact pact, IPayloadFormat payloadFormat) : this(pact, payloadFormat, new PactV2CompliantHttpTransportMatchers()) { }
public HttpMockServer(Pact pact, IPayloadFormat payloadFormat, ITransportMatchers transportMatchers) { this.pact = pact; this.payloadFormat = payloadFormat; this.transportMatchers = transportMatchers; }
public NoTransportFormat(IPayloadFormat payloadFormat) { this.payloadFormat = payloadFormat; }