package h2

  1. Overview
  2. Docs

HTTP/2 Configuration

type t = {
  1. read_buffer_size : int;
    (*

    read_buffer_size specifies the size of the largest frame payload that the sender is willing to receive, in octets. Defaults to 16384

    *)
  2. request_body_buffer_size : int;
    (*

    Defaults to 4096

    *)
  3. response_buffer_size : int;
    (*

    Defaults to 1024

    *)
  4. response_body_buffer_size : int;
    (*

    Defaults to 4096

    *)
  5. enable_server_push : bool;
    (*

    Defaults to true

    *)
  6. max_concurrent_streams : int;
    (*

    max_concurrent_streams specifies the maximum number of streams that the sender will allow the peer to initiate. Defaults to 1^31 - 1

    *)
  7. initial_window_size : int;
    (*

    initial_window_size specifies the initial window size for flow control tokens. Defaults to 65535

    *)
}
val default : t

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

OCaml

Innovation. Community. Security.