/// <summary> /// Initializes a new instance of the <see cref="HttpResponse"/> class. /// </summary> /// <param name="output">The HTTP response output.</param> public HttpResponse(IHttpResponseOutput output) { if (output == null) { throw new ArgumentNullException("output"); } m_output = output; m_headerNames = new ResponseHeaderNames(); }
/// <summary> /// Initializes a new instance of the <see cref="MockHttpResponse"/> class. /// </summary> /// <param name="output">The HTTP response output.</param> public MockHttpResponse(IHttpResponseOutput output) : base(output) { }