protected WriterContinuation(IHttpWriter writer, DoNext doNext) { if (writer == null) { throw new ArgumentNullException("writer"); } DoNext = doNext; Action = () => { Write(writer); writer.Flush(); }; }
public void Flush() { _writer.Flush(); }