package cohttp

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

Install

Dune Dependency

Authors

Maintainers

Sources

cohttp-v3.0.0.tbz
sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4
sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34

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: 06 Nov 2020

Dependencies (17)

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

Dev Dependencies (2)

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

Used by (80)

  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" | = "3.0.0"
  15. cohttp-lwt = "3.0.0"
  16. cohttp-lwt-jsoo >= "1.2.0" & < "2.2.0" | = "3.0.0"
  17. cohttp-mirage = "3.0.0"
  18. cohttp-top >= "1.0.0" & < "2.2.0" | = "3.0.0"
  19. cohttp_async_websocket
  20. comby-semantic
  21. cowabloga >= "0.0.9" & != "0.2.2"
  22. current_github >= "0.4" & < "0.6"
  23. current_slack = "0.5"
  24. current_web >= "0.4" & < "0.6"
  25. datakit < "0.10.0"
  26. dropbox >= "0.2"
  27. frenetic >= "3.3.0" & < "5.0.5"
  28. git = "1.4.10" | >= "1.5.0" & < "1.10.0"
  29. git-cohttp
  30. git-cohttp-mirage
  31. git-cohttp-unix
  32. git-paf < "3.5.0"
  33. git-unix < "1.10.0" | >= "2.1.1" & < "3.0.0"
  34. github >= "3.0.1" & < "4.4.0"
  35. github-jsoo >= "4.1.0" & < "4.3.0"
  36. github-unix >= "4.2.0" & < "4.4.0"
  37. graphql-cohttp
  38. hockmd
  39. imaplet-lwt >= "0.1.3"
  40. influxdb-async
  41. influxdb-lwt
  42. iocaml < "0.4.8"
  43. ip2location
  44. ip2locationio
  45. irmin >= "0.9.0" & != "0.11.1" & < "1.0.0"
  46. irmin-cli
  47. irmin-graphql >= "2.3.0"
  48. irmin-http >= "2.3.0"
  49. irmin-mirage-git >= "2.3.0" & < "2.8.0"
  50. irmin-unix < "0.9.9" | >= "2.3.0"
  51. learn-ocaml != "0.12"
  52. learn-ocaml-client >= "0.13.0"
  53. letsencrypt < "0.3.0"
  54. links >= "0.7.3"
  55. magic-trace
  56. mechaml >= "1.2.1"
  57. merge-queues >= "0.2.0"
  58. mirage-http = "2.0.0"
  59. mirage-www >= "1.1.0"
  60. nsq >= "0.2.4"
  61. ocamlapi
  62. oframl
  63. ojs-base >= "0.3.0" & < "0.6.0"
  64. opium = "0.13.3"
  65. opium_kernel
  66. podge
  67. ppx_json_types
  68. prometheus-app >= "0.5" & < "1.2"
  69. quests
  70. reddit_api_kernel < "0.2.1"
  71. sentry
  72. session-cohttp
  73. sociaml-facebook-api >= "0.4.1"
  74. telegraml >= "2.2.0"
  75. tidy_email_mailgun
  76. tidy_email_sendgrid
  77. transmission-rpc
  78. webmachine >= "0.4.0"
  79. websocket >= "2.10" & < "2.15"
  80. xen-api-client >= "0.9.8" & < "0.9.14"

Conflicts

None