def limits.config

bend-kit-http@0.38.4.0 · http.bend:5544

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

Uses (3)

Used by (1)