Пример #1
0
 public HttpRequestBase(HttpWebRequest httpWebRequest, HttpConsumer httpConsumer)
 {
     HttpWebRequest = httpWebRequest;
     HttpContent    = new HttpContentBuilder(httpWebRequest, httpConsumer.Serializers, httpConsumer.Deserializers);
     HttpConsumer   = httpConsumer;
     ResourceUri    = httpWebRequest.RequestUri;
 }
Пример #2
0
 public HttpRequest(HttpWebRequest httpWebRequest, HttpConsumer httpConsumer) :
     base(httpWebRequest, httpConsumer)
 {
 }