private Transport Setup( TestableHttpConnection connection, Uri proxyAddress = null, bool?disableAutomaticProxyDetection = null, bool httpCompression = false, bool transferEncodingChunked = false ) { var connectionPool = new SingleNodeConnectionPool(Server.Uri); var config = new TransportConfiguration(connectionPool, connection) .TransferEncodingChunked(transferEncodingChunked) .EnableHttpCompression(httpCompression); config = disableAutomaticProxyDetection.HasValue ? config.DisableAutomaticProxyDetection(disableAutomaticProxyDetection.Value) //make sure we the requests in debugging proxy : TransportTestServer.RerouteToProxyIfNeeded(config); return(new Transport(config)); }
public ControllerIntegrationTests(TransportTestServer instance) : base(instance) { }
public TransferEncodingChunkedTests(TransportTestServer instance) : base(instance) { }
public EndpointIntegrationTests(TransportTestServer <DummyStartup> instance) : base(instance) { }