Module Http_async.Status

type informational = [
| `Continue
| `Switching_protocols
| `Processing
| `Early_hints
]
val sexp_of_informational : informational -> Sexplib0.Sexp.t
val informational_of_sexp : Sexplib0.Sexp.t -> informational
val __informational_of_sexp__ : Sexplib0.Sexp.t -> informational
val compare_informational : informational -> informational -> int
val hash_fold_informational : Ppx_hash_lib.Std.Hash.state -> informational -> Ppx_hash_lib.Std.Hash.state
val hash_informational : informational -> Ppx_hash_lib.Std.Hash.hash_value
type success = [
| `Ok
| `Created
| `Accepted
| `Non_authoritative_information
| `No_content
| `Reset_content
| `Partial_content
| `Multi_status
| `Already_reported
| `Im_used
]
val sexp_of_success : success -> Sexplib0.Sexp.t
val success_of_sexp : Sexplib0.Sexp.t -> success
val __success_of_sexp__ : Sexplib0.Sexp.t -> success
val compare_success : success -> success -> int
val hash_fold_success : Ppx_hash_lib.Std.Hash.state -> success -> Ppx_hash_lib.Std.Hash.state
val hash_success : success -> Ppx_hash_lib.Std.Hash.hash_value
type redirection = [
| `Multiple_choices
| `Moved_permanently
| `Found
| `See_other
| `Not_modified
| `Use_proxy
| `Temporary_redirect
| `Permanent_redirect
]
val sexp_of_redirection : redirection -> Sexplib0.Sexp.t
val redirection_of_sexp : Sexplib0.Sexp.t -> redirection
val __redirection_of_sexp__ : Sexplib0.Sexp.t -> redirection
val compare_redirection : redirection -> redirection -> int
val hash_fold_redirection : Ppx_hash_lib.Std.Hash.state -> redirection -> Ppx_hash_lib.Std.Hash.state
val hash_redirection : redirection -> Ppx_hash_lib.Std.Hash.hash_value
type client_error = [
| `Bad_request
| `Unauthorized
| `Payment_required
| `Forbidden
| `Not_found
| `Method_not_allowed
| `Not_acceptable
| `Proxy_authentication_required
| `Request_timeout
| `Conflict
| `Gone
| `Length_required
| `Precondition_failed
| `Payload_too_large
| `Uri_too_long
| `Unsupported_media_type
| `Range_not_satisfiable
| `Expectation_failed
| `Misdirected_request
| `Unprocessable_entity
| `Locked
| `Failed_dependency
| `Too_early
| `Upgrade_required
| `Precondition_required
| `Too_many_requests
| `Request_header_fields_too_large
]
val sexp_of_client_error : client_error -> Sexplib0.Sexp.t
val client_error_of_sexp : Sexplib0.Sexp.t -> client_error
val __client_error_of_sexp__ : Sexplib0.Sexp.t -> client_error
val compare_client_error : client_error -> client_error -> int
val hash_fold_client_error : Ppx_hash_lib.Std.Hash.state -> client_error -> Ppx_hash_lib.Std.Hash.state
val hash_client_error : client_error -> Ppx_hash_lib.Std.Hash.hash_value
type server_error = [
| `Internal_server_error
| `Not_implemented
| `Bad_gateway
| `Service_unavailable
| `Gateway_timeout
| `Http_version_not_supported
| `Variant_also_negotiates
| `Insufficient_storage
| `Loop_detected
| `Not_extended
| `Network_authentication_required
]
val sexp_of_server_error : server_error -> Sexplib0.Sexp.t
val server_error_of_sexp : Sexplib0.Sexp.t -> server_error
val __server_error_of_sexp__ : Sexplib0.Sexp.t -> server_error
val compare_server_error : server_error -> server_error -> int
val hash_fold_server_error : Ppx_hash_lib.Std.Hash.state -> server_error -> Ppx_hash_lib.Std.Hash.state
val hash_server_error : server_error -> Ppx_hash_lib.Std.Hash.hash_value
val sexp_of_t : t -> Sexplib0.Sexp.t
val t_of_sexp : Sexplib0.Sexp.t -> t
val __t_of_sexp__ : Sexplib0.Sexp.t -> t
val compare : t -> t -> int
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
val to_int : t -> int
val to_string : t -> string
val to_reason_phrase : t -> string