httpaf

A high-performance, memory-efficient, and scalable web server for OCaml
Library httpaf
Module Httpaf . Config

Buffer Size Configuration

type t = {
read_buffer_size : int;(*

Default is 4096

*)
request_body_buffer_size : int;(*

Default is 4096

*)
response_buffer_size : int;(*

Default is 1024

*)
response_body_buffer_size : int;(*

Default is 4096

*)
}
val default : t

default is a configuration record with all parameters set to their default values.