Octogram.Http_server
Spawns a simple HTTP server (the python 3 module).
val port : t -> int
val wait : t -> Unix.process_status Lwt.t
val wait_for_ready : t -> unit Lwt.t
val create :
?runner:Tezt.Runner.t ->
?name:string ->
?python_path:string ->
?color:Tezt.Log.Color.t ->
?event_pipe:string ->
?port:int ->
directory:string ->
unit ->
t
val run :
?event_level:Tezt_mavryk.Daemon.Level.default_level ->
?event_sections_levels:(string * Tezt_mavryk.Daemon.Level.level) list ->
t ->
unit Lwt.t
val kill : t -> unit