package cohttp

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

Install

Dune Dependency

Authors

Maintainers

Sources

cohttp-v5.1.0.tbz
sha256=9883607813bb0d2b1677ce2062340d51016a6e1f0a059f92d9b608fe25563007
sha512=ca81321149a3a8836bcb6f177bbb48acd2ba3ad75cccf86153c8a2c2a8657060f6e0846c4af40b04029eafa040f25ba4c1e41b90a90840532dd8a3d6cfdea53b

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: 04 Apr 2023

Dependencies (12)

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

Dev Dependencies (3)

  1. crowbar with-test & >= "0.2"
  2. alcotest with-test
  3. fmt with-test

Used by (88)

  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" | = "5.1.0"
  15. cohttp-lwt = "5.1.0"
  16. cohttp-lwt-jsoo >= "1.2.0" & < "2.2.0" | = "5.1.0"
  17. cohttp-mirage = "5.1.0"
  18. cohttp-top >= "1.0.0" & < "2.2.0" | = "5.1.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. dblp-api
  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. ip2whois
  51. irmin >= "0.9.0" & != "0.11.1" & < "1.0.0"
  52. irmin-cli
  53. irmin-graphql >= "2.3.0"
  54. irmin-http >= "2.3.0"
  55. irmin-mirage-git >= "2.3.0" & < "2.8.0"
  56. irmin-unix < "0.9.9" | >= "2.3.0"
  57. learn-ocaml != "0.12"
  58. learn-ocaml-client >= "0.13.0"
  59. letsencrypt < "0.3.0"
  60. links >= "0.7.3"
  61. magic-trace
  62. merge-queues >= "0.2.0"
  63. mirage-http = "2.0.0"
  64. mirage-www >= "1.1.0"
  65. mqtt >= "0.2.2"
  66. nsq >= "0.2.4"
  67. ocamlapi
  68. oframl
  69. ojs-base >= "0.3.0"
  70. opium = "0.13.3"
  71. opium_kernel
  72. podge >= "0.4"
  73. ppx_json_types
  74. prometheus-app >= "0.5" & < "1.2"
  75. quests
  76. reddit_api_kernel
  77. river >= "0.2"
  78. sentry
  79. session-cohttp
  80. smtml >= "0.3.1"
  81. sociaml-facebook-api >= "0.4.1"
  82. telegraml >= "2.2.0"
  83. tidy_email_mailgun
  84. tidy_email_sendgrid
  85. transmission-rpc
  86. webmachine >= "0.4.0"
  87. websocket >= "2.10"
  88. xen-api-client >= "0.9.8" & < "0.9.14"

Conflicts

None

OCaml

Innovation. Community. Security.