def limits.config
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
5544def limits.config(config: ServerConfig) -> Limits:
5545 ServerConfig{host, port, body, headers, connections, requests, buffered, header_ms, body_ms, idle_ms, write_ms} = config
5546 Limits{U32.to_nat(body), headers, header_ms, body_ms, idle_ms, write_ms}