X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=cc37e1700d13c59df7a251103a996a492dc00410;hp=e0c59cd01252cfa0821dd226ddc161daa385db7b;hb=4934a0983fee26765a3c1a5b6bf5834ba6e7e52c;hpb=38a2bb28fd8dcb5bb1e0cb56028936a35f20f503 diff --git a/serverpool.h b/serverpool.h index e0c59cd..cc37e17 100644 --- a/serverpool.h +++ b/serverpool.h @@ -55,6 +55,9 @@ public: // 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();