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-httpaf_/Dream_httpaf_/Parse/Reader/index.html
Module Parse.Reader
Source
Source
type response_error = [
| `Invalid_response_body_length of Response.t
| `Parse of string list * string
]
Source
type 'error parse_state =
| Done
| Fail of 'error
| Partial of Bigstringaf.t -> off:int -> len:int -> AU.more -> (unit, 'error) result AU.state
Source
type 'error t = {
parser : (unit, 'error) result Angstrom.t;
mutable parse_state : 'error parse_state;
mutable closed : bool;
mutable wakeup : Optional_thunk.t;
}
Source
val request :
wakeup:(unit -> unit) ->
(Request.t -> Body.Reader.t -> 'a) ->
[> `Bad_request of Request.t ] t
Source
val _read_with_more :
[> `Parse of string list * string ] t ->
Bigstringaf.t ->
off:int ->
len:int ->
AU.more ->
int
Source
val read_with_more :
[> `Parse of string list * string ] t ->
Bigstringaf.t ->
off:int ->
len:int ->
AU.more ->
int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>