Module EzAPIServerHttpun

module File = File_lwt
val (let>) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val set_debug : unit -> unit
val mk_uri : Httpun.Request.t -> Uri.t
val meth_from_httpun : Httpun.Request.t -> [> `DELETE | `GET | `HEAD | `OPTIONS | `PATCH | `POST | `PUT ] option
val headers_from_httpun : Httpun.Request.t -> string list EzAPI.StringMap.t
val version_from_httpun : Httpun.Request.t -> [> `HTTP_1_0 | `HTTP_1_1 ]
val read_body : Httpun.Body.Reader.t -> string Lwt.t
val debug_httpun : Httpun.Request.t -> unit
val register_ip : Httpun.Request.t -> 'a -> Unix.sockaddr -> unit
val file : ?meth:[> `GET | `OPTIONS ] -> ?default:string -> string -> string list -> string Answer.t Lwt.t
val connection_handler : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> ?allow_origin: [< `all | `custom of string list | `default | `none | `origin default origin ] -> ?footer:string -> EzAPIServerUtils.server -> Unix.sockaddr -> Httpun_lwt_unix.Server.socket -> unit Lwt.t
val shutdown : unit -> unit Lwt.t
val server : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> ?allow_origin: [< `all | `custom of string list | `default | `none | `origin default origin ] -> ?footer:string -> ?addr:string -> (int * EzAPIServerUtils.server_kind) list -> 'a Lwt.t