package piaf

  1. Overview
  2. Docs
An HTTP library with HTTP/2 support written entirely in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

piaf-0.1.0.tbz
sha256=00c3bea6d1a8c77dc18bbbbf1f449a78253cf17391ad153751b2e87f71307265
sha512=0f35e88b78ec1f1cd06a972ee69e29a8983b4c07dbc0268cc9764d8df5d9c2402cc3710874f54a111095fb57a08fe582d99d1b7e070e141e260af6ced50172aa

doc/piaf.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 : int;
    (*

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

    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.