- void set_header(const std::string &stream_id, const std::string &header);
- void add_data(const std::string &stream_id, const char *data, size_t bytes);
+ void set_header(int stream_index,
+ const std::string &http_header,
+ const std::string &stream_header);
+ void add_data(int stream_index, const char *data, size_t bytes, StreamStartSuitability suitable_for_stream_start);
+
+ // Connects the given stream to the given mark pool for all the servers.
+ void set_mark_pool(int stream_index, MarkPool *mark_pool);
+
+ // Changes the given stream's backlog size on all the servers.
+ void set_backlog_size(int stream_index, size_t new_size);
+
+ // Changes the given stream's encoding type on all the servers.
+ void set_encoding(int stream_index, Stream::Encoding encoding);