Hcs.Server.H2_handler
hcs · API reference
module C = Http2.Server_connectionval max_concurrent_streams : intval make_request : C.reqd -> body_reader:body_reader -> requestval to_response : Response.t -> C.responseval max_body_int : int64 option -> intval error_response : exn -> C.responseval handle :
sw:'a ->
clock:[> float Eio.Time.clock_ty ] Eio.Time.clock ->
timeouts:timeouts ->
max_header_size:int ->
handler:(request -> Response.t) ->
?max_body_size:int64 ->
?body_buffer_limit:int ->
initial_data:string ->
[> Eio.Flow.two_way_ty ] Eio.Flow.sink ->
unitval handle_direct :
sw:'a ->
clock:[> float Eio.Time.clock_ty ] Eio.Time.clock ->
timeouts:timeouts ->
max_header_size:int ->
handler:(request -> Response.t) ->
?max_body_size:int64 ->
?body_buffer_limit:int ->
[> Eio.Flow.two_way_ty ] Eio.Flow.sink ->
unit