val http_service :
?config:H1.Config.t ->error_handler:(dst->H1.Server_connection.error_handler)->(TCP.flow->dst->H1.Server_connection.request_handler)->tPaf.service
val https_service :
tls:Tls.Config.server ->?config:H1.Config.t ->error_handler:(dst->H1.Server_connection.error_handler)->(TLS.flow->dst->H1.Server_connection.request_handler)->tPaf.service
val alpn_service :
tls:Tls.Config.server ->?config:(H1.Config.t * H2.Config.t)->(TLS.flow, dst)Alpn.server_handler->tPaf.service
val serve :
?stop:Lwt_switch.t ->'tPaf.service->'t->[ `Initialized of unit Lwt.t ]