package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha3.tar.gz
sha256=f289253109aee39ab912f9f38aa5e7b44e0b4b01fd7d3dd5c407b034c57f01bc
md5=148588e6f584cd9f2438e56da7df2f56

doc/dream-httpaf.h2/H2/Config/index.html

Module H2.ConfigSource

HTTP/2 Configuration

Sourcetype 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_body_buffer_size : int;
    (*

    Defaults to 4096

    *)
  4. enable_server_push : bool;
    (*

    Defaults to true

    *)
  5. max_concurrent_streams : int32;
    (*

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

    *)
  6. initial_window_size : int32;
    (*

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

    *)
}
Sourceval default : t

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

Sourceval to_settings : t -> Settings.t
OCaml

Innovation. Community. Security.