// Stop the thread.
void stop();
-
+
+ // Set header (both HTTP header and any stream headers) for the given stream.
void set_header(const std::string &stream_id, const std::string &header);
// These will be deferred until the next time an iteration in do_work() happens,