From 70c5a627d3dc8b40ea9f393ba7322f74c234bdfd Mon Sep 17 00:00:00 2001 From: craff Date: Sat, 11 Dec 2021 21:20:38 -1000 Subject: [PATCH] active_connections in mli too --- src/Tiny_httpd.mli | 4 ++++ 1 file changed, 4 insertions(+) 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