// Changes the given stream's encoding type on all the servers.
void set_encoding(int stream_index, Stream::Encoding encoding);
+ // Adds the given ping endpoint to all the servers.
+ void add_ping(const std::string &url, const std::string &allow_origin);
+
// Starts all the servers.
void run();