Results for “Std.Http.Server.run”
5 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Http.Server.run
&Std.Http.Server.Server -> &Std.Http.Server.Running -> Int -> Result[Int, Std.Http.Server.ServerError]Accept connections into a bounded queue consumed by a fixed worker pool.
- Std.Http.Server.portOf
&Std.Http.Server.Running -> IntWhich port a running server is on.
- Std.Http.Server.start
Str -> Int -> Result[Std.Http.Server.Running, Std.Http.Server.ServerError]Start listening, and answer what is needed to stop.
- Std.Http.Server.stop
&Std.Http.Server.Running -> Result[(), Std.Http.Server.ServerError]Ask a server to stop.
- Std.Http.Server.stopOnSignal
&Std.Http.Server.Running -> BoolStop the server when the supervisor asks the program to stop.
