package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha3.tar.gz
sha256=f289253109aee39ab912f9f38aa5e7b44e0b4b01fd7d3dd5c407b034c57f01bc
md5=148588e6f584cd9f2438e56da7df2f56

doc/dream-httpaf.websocketaf/Websocketaf/Websocket/Close_code/index.html

Module Websocket.Close_codeSource

Sourcetype standard = [
  1. | `Normal_closure
  2. | `Going_away
  3. | `Protocol_error
  4. | `Unsupported_data
  5. | `No_status_rcvd
  6. | `Abnormal_closure
  7. | `Invalid_frame_payload_data
  8. | `Policy_violation
  9. | `Message_too_big
  10. | `Mandatory_ext
  11. | `Internal_server_error
  12. | `TLS_handshake
]
Sourcetype t = [
  1. | standard
  2. | `Other of int
]
Sourceval code : t -> int
Sourceval of_code : int -> t option
Sourceval of_code_exn : int -> t
Sourceval to_int : t -> int
Sourceval of_int : int -> t option
Sourceval of_int_exn : int -> t
OCaml

Innovation. Community. Security.