package cohttp

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

Install

Authors

Maintainers

Sources

cohttp-eio-6.0.0.alpha0.tbz
sha256=2ed4acd5ea309ca064731ec9f02a4b4afcec1ab000f471da68ae81355130b56e
sha512=e741293352d8376eaf7ccc7ba986dc8fd33cc560b8a786d4b4f8cffde5f1d78651dd5dbb944db00e57a48f25bffdde8d6d7b8c5828605ed02f295c297ef87fdd

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.

Published: 15 Nov 2022

Dependencies (12)

  1. base64 >= "3.1.0"
  2. stringext
  3. ppx_sexp_conv >= "v0.13.0"
  4. sexplib0
  5. uri-sexp
  6. uri >= "2.0.0"
  7. re >= "1.9.0"
  8. base-bytes
  9. ocaml >= "5.0"
  10. ocaml >= "4.08" & < "5.0"
  11. http = version
  12. dune >= "2.9"

Dev Dependencies (3)

  1. odoc with-doc
  2. alcotest with-test
  3. fmt with-test

Used by (84)

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

Conflicts

None