/// <summary>Writes the batch as a response into a stream (including the status line, headers and everything)</summary> /// <param name="stream">The stream to write the response to.</param> public void WriteResponse(Stream stream) { InMemoryWebRequest response = new InMemoryWebRequest(); this.WriteResponse(response); response.WriteResponse(stream); }
/// <summary>Writes the batch as a response into a stream (including the status line, headers and everything)</summary> /// <param name="stream">The stream to write the response to.</param> public void WriteResponse(Stream stream) { InMemoryWebRequest response = new InMemoryWebRequest(); this.WriteResponse(response); response.WriteResponse(stream); }