package httpaf_caged
Module Httpaf_caged.Server_connection
type request_handler = Reqd.t -> unitval create :
?config:Config.t ->
?error_handler:error_handler ->
request_handler ->
tval next_read_operation : t -> [ `Close | `Read | `Yield ]val read : t -> Bigstringaf.t -> off:int -> len:int -> intval read_eof : t -> Bigstringaf.t -> off:int -> len:int -> intval yield_reader : t -> (unit -> unit) -> unitval report_write_result : t -> [ `Closed | `Ok of int ] -> unitval yield_writer : t -> (unit -> unit) -> unitval report_exn : t -> exn -> unitval is_closed : t -> boolval shutdown : t -> unit