package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module WindowSize : sig ... end
type setting =
  1. | HeaderTableSize of int
  2. | EnablePush of int
  3. | MaxConcurrentStreams of int32
  4. | InitialWindowSize of int32
  5. | MaxFrameSize of int
  6. | MaxHeaderListSize of int
type settings_list = setting list
val octets_per_setting : int
val serialize_key : setting -> int
val check_value : is_client:bool -> setting -> (unit, Error.t) result
val check_settings_list : ?is_client:bool -> setting list -> (unit, Error.t) result
type t = {
  1. header_table_size : int;
  2. enable_push : bool;
  3. max_concurrent_streams : int32;
  4. initial_window_size : WindowSize.t;
  5. max_frame_size : int;
  6. max_header_list_size : int option;
}
val default : t
val settings_for_the_connection : t -> setting list
val parse_settings_payload : int -> setting list Angstrom.t
val write_settings_payload : Faraday.t -> setting list -> unit
val of_settings_list : setting list -> t
val of_base64 : string -> (t, string) result
val to_base64 : t -> (string, string) result
val pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.