package httpcats
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A simple HTTP client / server using h1, h2, and miou
Install
dune-project
Dependency
Authors
Maintainers
Sources
httpcats-0.3.4.tbz
sha256=9581d7167dc4f9cee58ee5daaa9b734561504a48668169ebef5c6ed5b0031366
sha512=d7947b405fde5e3cec9d2a8258dbc3545339389afc55307ad180ea65b33899cc319f328b9bd492eb9f467e9315df5c75846e95778077ef54bb774f20d10e7496
doc/httpcats.runtime/Runtime/Flow/module-type-CHANNEL/index.html
Module type Flow.CHANNELSource
The result of Of_bytes: a bigstring flow which owns the scratch buffer needed to talk to the underlying bytes/string one.
include S
read flow bstr ~off ~len reads at most len bytes from flow into bstr at off and returns how many bytes were actually read. 0 means end-of-input.
val writev : t -> Bstr.t Faraday.iovec list -> unitwritev flow iovecs writes all the given iovecs to flow.
NOTE: the buffers of iovecs belong to the caller and are reused as soon as writev returns. An implementation which defers the actual transmission (such as utcp, which keeps the segment in its own state) must take a copy.
val close : t -> unitval shutdown : t -> [ `read | `write | `read_write ] -> unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>