Skip to main content

Module server

Module server 

Source

Structs§

ServerConfig
ServerHandle
Handle returned from serve. Use it to feed chunks and signal completion.

Functions§

serve
Bind the server, return a handle for feeding chunks and the bound address. Calls on_bind with the bound address synchronously before returning so the caller can open a browser URL pointing at the right port.