Module Dream_h2.Server_connectionSource
Sourcetype error = [ | `Bad_request| `Internal_server_error| `Exn of exn
] Sourceval wakeup_writer : t -> unit Sourceval shutdown_reader : t -> unit Sourceval shutdown_writer : t -> unit Sourceval report_exn : t -> exn -> unit Sourceval default_error_handler :
?request:'a ->
[< `Bad_gateway
| `Bad_request
| `Conflict
| `Enhance_your_calm
| `Exn of exn
| `Expectation_failed
| `Forbidden
| `Gateway_timeout
| `Gone
| `Http_version_not_supported
| `I_m_a_teapot
| `Internal_server_error
| `Length_required
| `Method_not_allowed
| `Misdirected_request
| `Network_authentication_required
| `Not_acceptable
| `Not_found
| `Not_implemented
| `Payload_too_large
| `Payment_required
| `Precondition_failed
| `Precondition_required
| `Proxy_authentication_required
| `Range_not_satisfiable
| `Request_header_fields_too_large
| `Request_timeout
| `Service_unavailable
| `Too_many_requests
| `Unauthorized
| `Unsupported_media_type
| `Upgrade_required
| `Uri_too_long ] ->
(Headers.t -> Body.Writer.t) ->
unit Sourceval write_connection_preface : t -> unit Sourceval next_read_operation : t -> [> `Close | `Read ] Sourceval yield_reader : 'a -> (unit -> 'b) -> 'b Sourceval report_write_result : t -> [< `Closed | `Ok of int ] -> unit Sourceval yield_writer : t -> (unit -> unit) -> unit