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-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90

doc/dream-httpaf.dream-httpaf_/Dream_httpaf_/Method/index.html

Module Dream_httpaf_.MethodSource

Sourcetype standard = [
  1. | `GET
  2. | `HEAD
  3. | `POST
  4. | `PUT
  5. | `DELETE
  6. | `CONNECT
  7. | `OPTIONS
  8. | `TRACE
]
Sourcetype t = [
  1. | standard
  2. | `Other of string
]
Sourceval is_safe : [> `GET | `HEAD | `OPTIONS | `TRACE ] -> bool
Sourceval is_cacheable : [> `GET | `HEAD | `POST ] -> bool
Sourceval is_idempotent : [> `DELETE | `GET | `HEAD | `OPTIONS | `PUT | `TRACE ] -> bool
Sourceval to_string : [< `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ] -> string
Sourceval of_string : string -> [> `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ]
Sourceval pp_hum : Format.formatter -> [< `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ] -> unit
OCaml

Innovation. Community. Security.