package shuttle_http

  1. Overview
  2. Docs

Module Shuttle_http.StatusSource

Sourcetype informational = [
  1. | `Continue
  2. | `Switching_protocols
  3. | `Processing
  4. | `Early_hints
]
Sourceval sexp_of_informational : informational -> Sexplib0.Sexp.t
Sourceval informational_of_sexp : Sexplib0.Sexp.t -> informational
Sourceval __informational_of_sexp__ : Sexplib0.Sexp.t -> informational
Sourceval compare_informational : informational -> informational -> int
Sourceval hash_fold_informational : Ppx_hash_lib.Std.Hash.state -> informational -> Ppx_hash_lib.Std.Hash.state
Sourceval hash_informational : informational -> Ppx_hash_lib.Std.Hash.hash_value
Sourceval quickcheck_generator_informational : informational Ppx_quickcheck_runtime.Base_quickcheck.Generator.t
Sourceval quickcheck_observer_informational : informational Ppx_quickcheck_runtime.Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker_informational : informational Ppx_quickcheck_runtime.Base_quickcheck.Shrinker.t
Sourceval all_of_informational : informational list
Sourcetype success = [
  1. | `Ok
  2. | `Created
  3. | `Accepted
  4. | `Non_authoritative_information
  5. | `No_content
  6. | `Reset_content
  7. | `Partial_content
  8. | `Multi_status
  9. | `Already_reported
  10. | `Im_used
]
Sourceval sexp_of_success : success -> Sexplib0.Sexp.t
Sourceval success_of_sexp : Sexplib0.Sexp.t -> success
Sourceval __success_of_sexp__ : Sexplib0.Sexp.t -> success
Sourceval compare_success : success -> success -> int
Sourceval hash_fold_success : Ppx_hash_lib.Std.Hash.state -> success -> Ppx_hash_lib.Std.Hash.state
Sourceval hash_success : success -> Ppx_hash_lib.Std.Hash.hash_value
Sourceval quickcheck_generator_success : success Ppx_quickcheck_runtime.Base_quickcheck.Generator.t
Sourceval quickcheck_observer_success : success Ppx_quickcheck_runtime.Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker_success : success Ppx_quickcheck_runtime.Base_quickcheck.Shrinker.t
Sourceval all_of_success : success list
Sourcetype redirection = [
  1. | `Multiple_choices
  2. | `Moved_permanently
  3. | `Found
  4. | `See_other
  5. | `Not_modified
  6. | `Use_proxy
  7. | `Temporary_redirect
  8. | `Permanent_redirect
]
Sourceval sexp_of_redirection : redirection -> Sexplib0.Sexp.t
Sourceval redirection_of_sexp : Sexplib0.Sexp.t -> redirection
Sourceval __redirection_of_sexp__ : Sexplib0.Sexp.t -> redirection
Sourceval compare_redirection : redirection -> redirection -> int
Sourceval hash_fold_redirection : Ppx_hash_lib.Std.Hash.state -> redirection -> Ppx_hash_lib.Std.Hash.state
Sourceval hash_redirection : redirection -> Ppx_hash_lib.Std.Hash.hash_value
Sourceval quickcheck_generator_redirection : redirection Ppx_quickcheck_runtime.Base_quickcheck.Generator.t
Sourceval quickcheck_observer_redirection : redirection Ppx_quickcheck_runtime.Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker_redirection : redirection Ppx_quickcheck_runtime.Base_quickcheck.Shrinker.t
Sourceval all_of_redirection : redirection list
Sourcetype client_error = [
  1. | `Bad_request
  2. | `Unauthorized
  3. | `Payment_required
  4. | `Forbidden
  5. | `Not_found
  6. | `Method_not_allowed
  7. | `Not_acceptable
  8. | `Proxy_authentication_required
  9. | `Request_timeout
  10. | `Conflict
  11. | `Gone
  12. | `Length_required
  13. | `Precondition_failed
  14. | `Payload_too_large
  15. | `Uri_too_long
  16. | `Unsupported_media_type
  17. | `Range_not_satisfiable
  18. | `Expectation_failed
  19. | `Misdirected_request
  20. | `Unprocessable_entity
  21. | `Locked
  22. | `Failed_dependency
  23. | `Too_early
  24. | `Upgrade_required
  25. | `Precondition_required
  26. | `Too_many_requests
  27. | `Request_header_fields_too_large
]
Sourceval sexp_of_client_error : client_error -> Sexplib0.Sexp.t
Sourceval client_error_of_sexp : Sexplib0.Sexp.t -> client_error
Sourceval __client_error_of_sexp__ : Sexplib0.Sexp.t -> client_error
Sourceval compare_client_error : client_error -> client_error -> int
Sourceval hash_fold_client_error : Ppx_hash_lib.Std.Hash.state -> client_error -> Ppx_hash_lib.Std.Hash.state
Sourceval hash_client_error : client_error -> Ppx_hash_lib.Std.Hash.hash_value
Sourceval quickcheck_generator_client_error : client_error Ppx_quickcheck_runtime.Base_quickcheck.Generator.t
Sourceval quickcheck_observer_client_error : client_error Ppx_quickcheck_runtime.Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker_client_error : client_error Ppx_quickcheck_runtime.Base_quickcheck.Shrinker.t
Sourceval all_of_client_error : client_error list
Sourcetype server_error = [
  1. | `Internal_server_error
  2. | `Not_implemented
  3. | `Bad_gateway
  4. | `Service_unavailable
  5. | `Gateway_timeout
  6. | `Http_version_not_supported
  7. | `Variant_also_negotiates
  8. | `Insufficient_storage
  9. | `Loop_detected
  10. | `Not_extended
  11. | `Network_authentication_required
]
Sourceval sexp_of_server_error : server_error -> Sexplib0.Sexp.t
Sourceval server_error_of_sexp : Sexplib0.Sexp.t -> server_error
Sourceval __server_error_of_sexp__ : Sexplib0.Sexp.t -> server_error
Sourceval compare_server_error : server_error -> server_error -> int
Sourceval hash_fold_server_error : Ppx_hash_lib.Std.Hash.state -> server_error -> Ppx_hash_lib.Std.Hash.state
Sourceval hash_server_error : server_error -> Ppx_hash_lib.Std.Hash.hash_value
Sourceval quickcheck_generator_server_error : server_error Ppx_quickcheck_runtime.Base_quickcheck.Generator.t
Sourceval quickcheck_observer_server_error : server_error Ppx_quickcheck_runtime.Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker_server_error : server_error Ppx_quickcheck_runtime.Base_quickcheck.Shrinker.t
Sourceval all_of_server_error : server_error list
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval __t_of_sexp__ : Sexplib0.Sexp.t -> t
Sourceval compare : t -> t -> int
include Ppx_hash_lib.Hashable.S with type t := t
Sourceval hash_fold_t : t Base__Ppx_hash_lib.hash_fold
Sourceval hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
include Ppx_quickcheck_runtime.Quickcheckable.S with type t := t
Sourceval quickcheck_generator : t Base_quickcheck.Generator.t
Sourceval quickcheck_observer : t Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker : t Base_quickcheck.Shrinker.t
include Ppx_enumerate_lib.Enumerable.S with type t := t
Sourceval all : t list
Sourceval to_int : t -> int
Sourceval of_int : int -> t Core.Or_error.t
Sourceval to_string : t -> string
Sourceval of_string : string -> t Core.Or_error.t
Sourceval to_reason_phrase : t -> string
OCaml

Innovation. Community. Security.