|(require koyo/server)||package: koyo-lib|
This module provides a web server component.
Returns #t when v is a server.
((make-server-factory [ #:host host #:port port #:limits limits]) dispatcher) → server? host : non-empty-string? = "127.0.0.1" port : (integer-in 0 65535) = 8000 limits : safety-limits? = (make-safety-limits) dispatcher : dispatcher/c
Creates a component that, when started, runs a web server bound to host and port using the given dispatcher.
The limits are passed directly to serve.