Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpMultipartBoundary"/> class.
 /// </summary>
 /// <param name="boundaryStream">The stream that contains the boundary information.</param>
 public HttpMultipartBoundary(HttpMultiparSubStream boundaryStream)
 {
     this.Value = boundaryStream;
     this.ExtractHeaders();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpMultipartBoundary"/> class.
 /// </summary>
 /// <param name="boundaryStream">The stream that contains the boundary information.</param>
 public HttpMultipartBoundary(HttpMultiparSubStream boundaryStream)
 {
     this.Value = boundaryStream;
     this.ExtractHeaders();
 }