Module Dream_httpaf_.Server_connectionSource
Sourcetype error = [ | `Bad_gateway| `Bad_request| `Internal_server_error| `Exn of exn
] Sourceval yield_reader : t -> (unit -> unit) -> unit Sourceval wakeup_reader : t -> unit Sourceval yield_writer : t -> (unit -> unit) -> unit Sourceval wakeup_writer : t -> 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
| `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 shutdown_reader : t -> unit Sourceval shutdown_writer : t -> unit Sourceval error_code :
t ->
[> `Bad_gateway | `Bad_request | `Exn of exn | `Internal_server_error ]
option Sourceval report_exn : t -> exn -> unit Sourceval advance_request_queue : t -> unit Sourceval next_read_operation : t -> [> `Close | `Read | `Yield ] Sourceval report_write_result : t -> [< `Closed | `Ok of int ] -> unit