Inheritance: IHttpRequest
コード例 #1
0
 public TcpHttpContext(TcpClient client, RavenConfiguration configuration)
 {
     _client        = client;
     _configuration = configuration;
     _request       = new TcpHttpRequest(_client, configuration.Port);
     _response      = new TcpHttpResponse(_client);
 }
コード例 #2
0
 public TcpHttpContext(TcpClient client, RavenConfiguration configuration)
 {
     _client = client;
     _configuration = configuration;
     _request = new TcpHttpRequest(_client, configuration.Port);
     _response = new TcpHttpResponse(_client);
 }