]> git.sesse.net Git - cubemap/blobdiff - serverpool.h
Add a simple HTTP endpoint that returns a very short string.
[cubemap] / serverpool.h
index e0c59cd01252cfa0821dd226ddc161daa385db7b..cc37e1700d13c59df7a251103a996a492dc00410 100644 (file)
@@ -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();