active_connections in mli too

This commit is contained in:
craff 2021-12-11 21:20:38 -10:00
parent 4c07bed496
commit 70c5a627d3

View file

@ -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