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-h2/Dream_h2/Respd/index.html
Module Dream_h2.Respd
Source
Source
type error = [
| `Malformed_response of string
| `Invalid_response_body_length of Response.t
| `Protocol_error of Error_code.t * string
| `Exn of exn
]
Source
type response_info = {
response : Response.t;
response_body : Body.Reader.t;
mutable response_body_bytes : int64;
mutable trailers_parser : Stream.partial_headers option;
}
Source
type active_request = {
request : Request.t;
request_body : Body.Writer.t;
response_handler : response_handler;
trailers_handler : trailers_handler;
}
Source
val response_body_exn :
(((response_info, response_info Stream.remote_state) Stream.active_state,
'a,
'b)
Stream.state,
'c,
'd)
Stream.stream ->
Body.Reader.t
Source
val close_stream :
((('a, 'b) Stream.active_state, 'c, 'd) Stream.state, 'e, 'f) Stream.stream ->
unit
Source
val requires_output :
((('a, 'b) Stream.active_state, 'c, 'd) Stream.state, 'e, 'f) Stream.stream ->
bool
Source
val flush_request_body :
((('a, 'a Stream.remote_state) Stream.active_state, active_request, 'b)
Stream.state,
'c,
'd)
Stream.stream ->
max_bytes:int ->
int
Source
val deliver_trailer_headers :
((('a, 'b Stream.remote_state) Stream.active_state, active_request, 'c)
Stream.state,
'd,
'e)
Stream.stream ->
Headers.t ->
unit
Source
val flush_response_body :
(((response_info, response_info Stream.remote_state) Stream.active_state,
active_request,
active_request Stream.remote_state)
Stream.state,
error,
error_handler)
Stream.stream ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>