package dream-httpaf
Internal: shared http/af stack for Dream (server) and Hyper (client)
Install
dune-project
Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90
doc/dream-httpaf.dream-httpaf_/Dream_httpaf_/Body/Reader/index.html
Module Body.Reader
Source
Source
type t = {
faraday : Faraday.t;
mutable read_scheduled : bool;
mutable on_eof : unit -> unit;
mutable eof_has_been_called : bool;
mutable on_read : Bigstringaf.t -> off:int -> len:int -> unit;
when_ready_to_read : Optional_thunk.t;
}
Source
val do_execute_read :
t ->
(unit -> unit) ->
(Faraday.bigstring -> off:int -> len:int -> unit) ->
unit
Source
val schedule_read :
t ->
on_eof:(unit -> unit) ->
on_read:(Faraday.bigstring -> off:int -> len:int -> unit) ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>