package httpcats
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.1.tbz
sha256=e41ca6a32252e49ca44e749e7b41e148acdb1e46fc8fa08eb98eed66d1831a1d
sha512=7e736d5c0ecc2f1c63c39ce39b322cd88b85c9d50eda2021e20043b0c855e7d61107605434e14f7186d4b8488f8c1e1048058bce5c0b1195d5bb16b84999107c
doc/src/httpcats.core/httpcats_core.ml.html
Source file httpcats_core.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49module Version = H1.Version module Status = H2.Status module Headers = H2.Headers module Method = H2.Method module Cookie = Cookie type request = { meth: Method.t; target: string; headers: Headers.t } type response = { version: Version.t ; status: Status.t ; reason: string ; headers: Headers.t } type error = [ `V1 of H1.Client_connection.error | `V2 of H2.Client_connection.error | `Protocol of string | `Msg of string | `Exn of exn ] type body = String of string | Stream of string Seq.t type meta = (Ipaddr.t * int) * Tls.Core.epoch_data option type 'a handler = meta -> request -> response -> 'a -> string option -> 'a module Server = struct type error = [ `V1 of H1.Server_connection.error | `V2 of H2.Server_connection.error | `Protocol of string ] type request = { meth: Method.t ; target: string ; scheme: string ; headers: Headers.t } type response = { status: Status.t; headers: Headers.t } type body = [ `V1 of H1.Body.Writer.t | `V2 of H2.Body.Writer.t ] type conn = [ `H1 of H1.Server_connection.t | `H2 of H2.Server_connection.t ] type reqd = [ `V1 of H1.Reqd.t | `V2 of H2.Reqd.t ] type error_handler = [ `V1 | `V2 ] -> ?request:request -> error -> (Headers.t -> body) -> unit type 'a handler = 'a -> conn -> reqd -> unit end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>