package dream-httpaf
Internal: shared http/af stack for Dream (server) and Hyper (client)
Install
Dune Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha5.tar.gz
sha256=05bc7f6aff94893c151f3a5bcdee3328920c69b3763fac49ba27348dc7745901
md5=de6f6908ae899c9e85f2c751a0263932
doc/dream-httpaf.dream-h2/Dream_h2/Scheduler/Make/index.html
Module Scheduler.Make
Source
Parameters
module Streamd : StreamDescriptor
Signature
module PriorityQueue :
Psq.S with type k = Int32.t and type p = PriorityTreeNode.stream
include module type of struct include PriorityTreeNode end
and _ node = _ PriorityTreeNode.node =
| Connection : {
all_streams : stream StreamsTbl.t;
mutable t_last : int;
mutable children : PriorityQueue.t;
mutable flow : Settings.WindowSize.t;
mutable inflow : Settings.WindowSize.t;
mutable marked_for_removal : (Stream_identifier.t * Stream.closed) list;
} -> root node
| Stream : {
descriptor : Streamd.t;
mutable t_last : int;
mutable t : int;
mutable priority : Priority.t;
mutable parent : parent;
mutable children : PriorityQueue.t;
mutable flow : Settings.WindowSize.t;
mutable inflow : Settings.WindowSize.t;
} -> nonroot node
Source
val create :
parent:parent ->
initial_send_window_size:Settings.WindowSize.t ->
initial_recv_window_size:Settings.WindowSize.t ->
Streamd.t ->
nonroot node
Source
val add :
root node ->
priority:Priority.t ->
initial_send_window_size:Settings.WindowSize.t ->
initial_recv_window_size:Settings.WindowSize.t ->
Streamd.t ->
nonroot node
Source
val implicitly_close_idle_stream :
Streamd.t ->
(Stream_identifier.t * Stream_identifier.t) ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page