package cohttp

  1. Overview
  2. No Docs
An OCaml library for HTTP clients and servers

Install

Dune Dependency

Authors

Maintainers

Sources

cohttp-v2.5.2.tbz
sha256=37bbb95e4b8f5fa9ffa6e3e38693c50369f32137eeae70d528cafe76a92a449a
sha512=736bf5ee0765096ea654a6378d349a8ae52b8c134bc959ae307cf830c84f4010aa8b152a8c1c141696616766f6a3b24e0a61c0873215cc7f24a0083c7d6a9197

Description

Cohttp is an OCaml library for creating HTTP daemons. It has a portable HTTP parser, and implementations using various asynchronous programming libraries.

See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and cohttp-mirage libraries for concrete implementations for particular targets.

You can implement other targets using the parser very easily. Look at the IO signature in lib/s.mli and implement that in the desired backend.

You can activate some runtime debugging by setting COHTTP_DEBUG to any value, and all requests and responses will be written to stderr. Further debugging of the connection layer can be obtained by setting CONDUIT_DEBUG to any value.

Tags

org:mirage org:xapi-project

Published: 29 Jun 2020

Dependencies (15)

  1. jsonm build
  2. stdlib-shims
  3. base64 >= "3.1.0"
  4. stringext
  5. ppx_sexp_conv >= "v0.13.0"
  6. ppx_fields_conv >= "v0.9.0"
  7. sexplib0
  8. fieldslib
  9. uri-sexp
  10. uri >= "2.0.0"
  11. re >= "1.9.0"
  12. dune >= "1.1.0"
  13. base-bytes
  14. ocaml >= "5.0"
  15. ocaml >= "4.04.1" & < "5.0"

Dev Dependencies (2)

  1. alcotest with-test
  2. fmt with-test

Used by (75)

  1. aws-async
  2. aws-lwt
  3. aws-s3 >= "2.0.0" & < "4.0.0"
  4. awsm
  5. awsm-codegen
  6. azblob
  7. azblob-async
  8. azure-cosmos-db
  9. c3
  10. calculon-web < "0.5"
  11. caldav
  12. canary
  13. cca >= "0.6.2"
  14. cohttp-async >= "1.0.0" & < "2.2.0" | = "2.5.2"
  15. cohttp-lwt >= "2.0.0" & < "2.2.0" | = "2.5.2"
  16. cohttp-lwt-jsoo >= "1.2.0" & < "2.2.0" | = "2.5.2"
  17. cohttp-mirage >= "2.2.0" & < "2.5.5"
  18. cohttp-top >= "1.0.0" & < "2.2.0" | = "2.5.2"
  19. comby-semantic
  20. cowabloga >= "0.0.9" & != "0.2.2"
  21. current_slack >= "0.4" & < "0.6"
  22. current_web >= "0.4" & < "0.6"
  23. datakit < "0.10.0"
  24. dropbox >= "0.2"
  25. frenetic >= "3.3.0" & < "5.0.5"
  26. git = "1.4.10" | >= "1.5.0" & < "1.10.0"
  27. git-cohttp
  28. git-http >= "2.0.0"
  29. git-paf < "3.5.0"
  30. git-unix < "1.10.0" | >= "2.0.0" & < "3.0.0"
  31. github >= "3.0.1" & < "4.4.0"
  32. github-jsoo >= "3.0.1" & < "4.4.0"
  33. github-unix >= "4.2.0" & < "4.4.0"
  34. graphql-cohttp
  35. hockmd
  36. imaplet-lwt >= "0.1.3"
  37. influxdb-async
  38. influxdb-lwt
  39. iocaml < "0.4.8"
  40. ip2location
  41. ip2locationio
  42. irmin >= "0.9.0" & != "0.11.1" & < "1.0.0"
  43. irmin-cli
  44. irmin-graphql >= "2.3.0"
  45. irmin-http >= "2.3.0"
  46. irmin-mirage-git >= "2.3.0" & < "2.8.0"
  47. irmin-unix < "0.9.9" | >= "2.3.0"
  48. learn-ocaml != "0.12"
  49. learn-ocaml-client >= "0.13.0"
  50. letsencrypt < "0.3.0"
  51. links >= "0.7.3"
  52. magic-trace
  53. mechaml >= "1.2.0"
  54. merge-queues >= "0.2.0"
  55. mirage-http = "2.0.0"
  56. mirage-www >= "1.1.0"
  57. nsq >= "0.2.4"
  58. ocamlapi
  59. oframl
  60. ojs-base >= "0.3.0" & < "0.6.0"
  61. opium = "0.13.3"
  62. opium_kernel
  63. podge
  64. ppx_json_types
  65. prof_spacetime >= "0.3.0"
  66. prometheus-app >= "0.5" & < "1.2"
  67. quests
  68. sentry
  69. session-cohttp
  70. sociaml-facebook-api >= "0.4.1"
  71. telegraml >= "2.2.0"
  72. transmission-rpc
  73. webmachine >= "0.4.0"
  74. websocket >= "2.10" & < "2.15"
  75. xen-api-client >= "0.9.8" & < "0.9.14"

Conflicts

None