comments for cohttp

This commit is contained in:
Simon Cruanes 2022-09-30 14:26:28 -04:00
parent 3dc7d63c7d
commit 8dbc5d0fb5
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -16,6 +16,7 @@ module Server : sig
Use it like this: Use it like this:
{[
let my_server callback = let my_server callback =
let callback_traced = let callback_traced =
Opentelemetry_cohttp_lwt.Server.trace Opentelemetry_cohttp_lwt.Server.trace
@ -25,6 +26,7 @@ module Server : sig
Cohttp_lwt_unix.Server.create Cohttp_lwt_unix.Server.create
~mode:(`TCP (`Port 8080)) ~mode:(`TCP (`Port 8080))
(Server.make () ~callback:callback_traced) (Server.make () ~callback:callback_traced)
]}
*) *)
val with_ : val with_ :