コード例 #1
0
 public HttpTransport(HttpClient httpClient, IPayloadFormat payloadFormat, ITransportMatchers matchers = null)
 {
     Format             = new HttpTransportFormat(payloadFormat);
     Matchers           = matchers ?? new HttpTransportMatchers();
     this.httpClient    = httpClient;
     this.payloadFormat = payloadFormat;
 }
コード例 #2
0
ファイル: HttpMockServer.cs プロジェクト: smstuebe/impact
 public HttpMockServer(Pact pact, IPayloadFormat payloadFormat)
     : this(pact, payloadFormat, new PactV2CompliantHttpTransportMatchers())
 {
 }
コード例 #3
0
ファイル: HttpMockServer.cs プロジェクト: smstuebe/impact
 public HttpMockServer(Pact pact, IPayloadFormat payloadFormat, ITransportMatchers transportMatchers)
 {
     this.pact              = pact;
     this.payloadFormat     = payloadFormat;
     this.transportMatchers = transportMatchers;
 }
コード例 #4
0
 public NoTransportFormat(IPayloadFormat payloadFormat)
 {
     this.payloadFormat = payloadFormat;
 }