Exemplo n.º 1
0
 public HttpPacket(HttpMethod httpMethod, string hostOrIp, string uri, HttpProtocolVersion protocolVersion)
 {
     Initialize(httpMethod);
     this.hostOrIp   = hostOrIp;
     this.uri        = uri;
     ProtocolVersion = protocolVersion;
 }
Exemplo n.º 2
0
 public HttpPacket(HttpMethod httpMethod, string url, HttpProtocolVersion protocolVersion)
 {
     Initialize(httpMethod);
     URL             = url;
     ProtocolVersion = protocolVersion;
 }