9#ifndef SQUID_SRC_HTTPCONTROLMSG_H
10#define SQUID_SRC_HTTPCONTROLMSG_H
std::ostream & operator<<(std::ostream &os, const HttpControlMsg &msg)
sends a single control message, notifying the Sink
AsyncCall::Pointer cbControlMsgSent
Call to schedule when the control msg has been sent.
void wroteControlMsg(const CommIoCbParams &)
callback to handle Comm::Write completion
virtual void sendControlMsg(HttpControlMsg msg)=0
called to send the 1xx message and notify the Source
virtual void doneWithControlMsg()
bundles HTTP 1xx reply and the "successfully forwarded" callback
AsyncCall::Pointer Callback
Callback cbSuccess
called after successfully writing the 1xx message
HttpReply::Pointer reply
the 1xx message being forwarded
HttpControlMsg(const HttpReply::Pointer &aReply, const Callback &aCallback)