package httph

All checked builds pass
  1. Overview
  2. Docs
Minimal OCaml to the httpserver.h http server toolkit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.4.tar.gz
md5=7ef4bb45af5fde6600cbeece8da87805
sha512=0a7dbcbe5a34bbbd3f1a542357f64a1f1aa852dfd4becf798a10474d6126e31179a0d1be5f118768e764ec177f5e5a82f3f4a442dad38c3fffe72d5e866cbcc0

Description

A very simple OCaml http toolkit intended to be a very straightforward set of bindings to the underlying httpserver.h C library.

Added to opam-repository:

README

ocaml-httph

Minimal OCaml bindings to the httpserver.h http server toolkit

Summary

This library provides a very minimal set of OCaml bindings to the httpserver.h header file. The advantage of this library is the underlying library is non-blocking, compact and reasonaby fast given my testing so far. However, there are no bells and whistles here, just a very simple http toolkit.

Installation

This library has no dependencies other than the httpserver.h header file vendored directly in the lib directory. To run the examples you'll need yojson installed which you can grab in the standard way:

$ opam install yojson

Benchmarks

See BENCH.md for a start

Alpha Notice

This is not production software, more of an experiment really.

Dependencies (3)

  1. yojson >= "1.7.0"
  2. ocaml >= "4.12.0"
  3. dune >= "2.8"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building httph with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure