diff options
Diffstat (limited to 'src/output/HttpdInternal.hxx')
-rw-r--r-- | src/output/HttpdInternal.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/output/HttpdInternal.hxx b/src/output/HttpdInternal.hxx index a9d24e840..5c9e9233e 100644 --- a/src/output/HttpdInternal.hxx +++ b/src/output/HttpdInternal.hxx @@ -213,6 +213,9 @@ struct HttpdOutput final : private ServerSocket { */ void SendHeader(HttpdClient &client) const; + gcc_pure + unsigned Delay() const; + /** * Reads data from the encoder (as much as available) and * returns it as a new #page object. @@ -235,6 +238,10 @@ struct HttpdOutput final : private ServerSocket { void SendTag(const Tag *tag); + size_t Play(const void *chunk, size_t size, Error &error); + + void CancelAllClients(); + private: virtual void OnAccept(int fd, const sockaddr &address, size_t address_length, int uid) override; |