Esempio n. 1
0
 public HttpResponseHeader(HttpMessageHeader header) : base(header.StartLine, header.Headers)
 {
     StartLine = base.StartLine;
 }
Esempio n. 2
0
 /// <summary>
 ///     Convert generic <see cref="HttpMessageHeader"/> to <see cref="HttpResponseHeader"/>
 /// </summary>
 /// <param name="header">generic HTTP header</param>
 /// <returns>HTTP request message header</returns>
 public HttpRequestHeader(HttpMessageHeader header) : base(header.StartLine, header.Headers)
 {
     StartLine = header.StartLine;
 }