]> git.sesse.net Git - cubemap/blobdiff - serverpool.h
Rename ping to gen204, and change the response type to a 204 No Response, since that...
[cubemap] / serverpool.h
index cc37e1700d13c59df7a251103a996a492dc00410..44084bc180e6ebb5466b0e908acd78a3253b2f14 100644 (file)
@@ -55,8 +55,8 @@ 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);
+       // Adds the given gen204 endpoint to all the servers.
+       void add_gen204(const std::string &url, const std::string &allow_origin);
 
        // Starts all the servers.
        void run();