diff --git a/src/Tiny_httpd.mli b/src/Tiny_httpd.mli index ea23a1e1..27ef44d7 100644 --- a/src/Tiny_httpd.mli +++ b/src/Tiny_httpd.mli @@ -472,6 +472,10 @@ val is_ipv6 : t -> bool val port : t -> int (** Port on which the server listens. *) +val active_connections : t -> int +(** number of currently opened connections with a client. + @since 0.11 *) + val add_decode_request_cb : t -> (unit Request.t -> (unit Request.t * (byte_stream -> byte_stream)) option) -> unit