package httph

  1. Overview
  2. Docs
Minimal OCaml to the httpserver.h http server toolkit

Install

Dune 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.

Published: 21 May 2021

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

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.