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 (82)

  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. dblp-api
  27. dropbox >= "0.2"
  28. frenetic >= "3.3.0" & < "5.0.5"
  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" & < "4.4.0"
  36. github-jsoo >= "4.1.0" & < "4.3.0"
  37. github-unix >= "4.2.0" & < "4.4.0"
  38. graphql-cohttp
  39. hockmd
  40. imaplet-lwt >= "0.1.3"
  41. influxdb-async
  42. influxdb-lwt
  43. iocaml < "0.4.8"
  44. ip2location
  45. ip2locationio
  46. ip2whois
  47. irmin >= "0.9.0" & != "0.11.1" & < "1.0.0"
  48. irmin-cli
  49. irmin-graphql >= "2.3.0"
  50. irmin-http >= "2.3.0"
  51. irmin-mirage-git >= "2.3.0" & < "2.8.0"
  52. irmin-unix < "0.9.9" | >= "2.3.0"
  53. learn-ocaml != "0.12"
  54. learn-ocaml-client >= "0.13.0"
  55. letsencrypt < "0.3.0"
  56. links >= "0.7.3"
  57. magic-trace
  58. mechaml >= "1.2.1"
  59. merge-queues >= "0.2.0"
  60. mirage-http = "2.0.0"
  61. mirage-www >= "1.1.0"
  62. nsq >= "0.2.4"
  63. ocamlapi
  64. oframl
  65. ojs-base >= "0.3.0" & < "0.6.0"
  66. opium = "0.13.3"
  67. opium_kernel
  68. podge
  69. ppx_json_types
  70. prometheus-app >= "0.5" & < "1.2"
  71. quests
  72. reddit_api_kernel < "0.2.1"
  73. sentry
  74. session-cohttp
  75. sociaml-facebook-api >= "0.4.1"
  76. telegraml >= "2.2.0"
  77. tidy_email_mailgun
  78. tidy_email_sendgrid
  79. transmission-rpc
  80. webmachine >= "0.4.0"
  81. websocket >= "2.10" & < "2.15"
  82. xen-api-client >= "0.9.8" & < "0.9.14"

Conflicts

None

OCaml

Innovation. Community. Security.