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