Пример #1
0
        public HttpEntity(HttpHeaderDictionary messageHeaders, Stream entityBodyStream)
        {
            Headers = messageHeaders;
            Stream  = entityBodyStream;

            Errors = new List <Error>();
        }
Пример #2
0
 public HttpEntity(HttpHeaderDictionary messageheaders, Stream entityBodyStream)
 {
     Headers = messageheaders;
     if (entityBodyStream != null)
     {
         Stream = new LengthTrackingStream(entityBodyStream);
     }
     Errors = new List <Error>();
 }
Пример #3
0
 public MultipartHttpEntity()
 {
     Headers = new HttpHeaderDictionary();
 }