def limits.config

bend-kit-http@0.38.5.0 · http.bend:5536

import bend-kit-http@0.38.5.0/http.bend as Http
import 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}

Uses (3)

Used by (1)