package dream-httpaf
Internal: shared http/af stack for Dream (server) and Hyper (client)
Install
Dune Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90
doc/dream-httpaf.dream-httpaf_/Dream_httpaf_/Reqd/index.html
Module Dream_httpaf_.Reqd
Source
Source
type t = {
request : Request.t;
request_body : Body.Reader.t;
reader : Reader.request;
writer : Writer.t;
response_body_buffer : Bigstringaf.t;
error_handler : error_handler;
mutable persistent : bool;
mutable response_state : Response_state.t;
mutable error_code : [ `Ok | error ];
}
Source
val create :
error_handler ->
Request.t ->
Body.Reader.t ->
Reader.request ->
Writer.t ->
Bigstringaf.t ->
t
Source
val unsafe_respond_with_streaming :
flush_headers_immediately:bool ->
t ->
Response.t ->
Body.Writer.t
Source
val respond_with_streaming :
?flush_headers_immediately:bool ->
t ->
Response.t ->
Body.Writer.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>