package awsm

  1. Overview
  2. Docs
type informational = [
  1. | `Continue
  2. | `Switching_protocols
]
val sexp_of_informational : informational -> Sexplib0.Sexp.t
type successful = [
  1. | `OK
  2. | `Created
  3. | `Accepted
  4. | `Non_authoritative_information
  5. | `No_content
  6. | `Reset_content
  7. | `Partial_content
]
val sexp_of_successful : successful -> Sexplib0.Sexp.t
type redirection = [
  1. | `Multiple_choices
  2. | `Moved_permanently
  3. | `Found
  4. | `See_other
  5. | `Not_modified
  6. | `Use_proxy
  7. | `Temporary_redirect
]
val sexp_of_redirection : redirection -> Sexplib0.Sexp.t
type 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. | `Unsupported_media_type
  15. | `Expectation_failed
  16. | `I_m_a_teapot
  17. | `Enhance_your_calm
  18. | `Upgrade_required
]
val sexp_of_client_error : client_error -> Sexplib0.Sexp.t
type server_error = [
  1. | `Internal_server_error
  2. | `Not_implemented
  3. | `Bad_gateway
  4. | `Service_unavailable
  5. | `Gateway_timeout
  6. | `Http_version_not_supported
]
val sexp_of_server_error : server_error -> Sexplib0.Sexp.t
val sexp_of_standard : standard -> Sexplib0.Sexp.t
type t = [
  1. | standard
  2. | `Code of int
]
val sexp_of_t : t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.