package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module PriorityTreeNode : sig ... end
module PriorityQueue : sig ... end
type root = PriorityTreeNode.root =
  1. | Root
type nonroot = PriorityTreeNode.nonroot =
  1. | NonRoot
type stream = nonroot node
and parent = PriorityTreeNode.parent =
  1. | Parent : 'a node -> parent
and !'a node = 'a PriorityTreeNode.node =
  1. | Stream : {
    1. descriptor : Respd.t;
    2. mutable t_last : int;
    3. mutable t : int;
    4. mutable priority : Priority.t;
    5. mutable parent : parent;
    6. mutable children : PriorityQueue.t;
    7. mutable flow : Settings.WindowSize.t;
    8. mutable inflow : Settings.WindowSize.t;
    } -> nonroot node
type t = root node
val make_root : ?capacity:int -> unit -> root node
val create : parent:parent -> initial_send_window_size:Settings.WindowSize.t -> initial_recv_window_size:Settings.WindowSize.t -> Respd.t -> nonroot node
val remove_from_parent : parent -> PriorityQueue.k -> unit
val children : 'a node -> PriorityQueue.t
val stream_id : 'a node -> int32
val set_parent : nonroot node -> exclusive:bool -> parent -> unit
val would_create_cycle : new_parent:parent -> nonroot node -> bool
val reprioritize_stream : root node -> priority:Priority.t -> nonroot node -> unit
val add : root node -> priority:Priority.t -> initial_send_window_size:Settings.WindowSize.t -> initial_recv_window_size:Settings.WindowSize.t -> Respd.t -> nonroot node
val get_node : root node -> Stream_identifier.t -> stream option
val find : root node -> Stream_identifier.t -> Respd.t option
val iter : root node -> f:(stream -> unit) -> unit
val allowed_to_transmit : root node -> nonroot node -> bool
val allowed_to_receive : root node -> nonroot node -> Settings.WindowSize.t -> bool
val write : root node -> nonroot node -> int
val update_t : nonroot node -> int -> unit
val mark_for_removal : root node -> Stream_identifier.t -> Stream.closed -> unit
val implicitly_close_idle_stream : Respd.t -> (Stream_identifier.t * Stream_identifier.t) -> unit
val check_flow : Int32.t -> Int32.t -> Int32.t -> bool
val add_flow : 'a node -> int32 -> bool
val add_inflow : 'a node -> int32 -> bool
val deduct_inflow : 'a node -> int32 -> unit
val pp_hum : Format.formatter -> PriorityQueue.t -> unit
OCaml

Innovation. Community. Security.