1. Overview
  2. Docs
Use nanoev as a basis for tiny_httpd

Install

dune-project
 Dependency

Authors

Maintainers

Sources

nanoev-0.1.tbz
sha256=2ec6b951b88383b3849240f7cd27e322797fc596dc0b3fc53e9c61b78bab6570
sha512=1e4fe800638102cc5bdcd404d2069f65bc34f429d0b9063c14b0ffebc20e9dad3beff49741304d4b57d98d1895f65ed903f4b11d224505d038fa2afb012d7d4f

Description

Tags

nanoev http

Added to opam-repository:

README

nanoev

A minimalistic but modular abstraction for IO event loops.

The goal of this library is to provide a uniform abstraction over multiple system event loops, in a way that plays well with Picos.

Usage

Very basic usage would look like this:

module EV = Nanoev_picos


let () =
  (* use a backend, eg. select *)
  let ev = Nanoev_unix.create () in

  (* install the backend *)
  Nanoev_picos.setup_bg_thread ev;

  (* setup a picos scheduler and use EV.read, EV.write, etc. *)
  …

Backends

  • select
  • poll/ppoll
  • epoll
  • kqueue
  • uring

Dependencies (7)

  1. tiny_httpd >= "0.19"
  2. picos_std
  3. picos
  4. nanoev-picos = version
  5. nanoev = version
  6. dune >= "2.7"
  7. ocaml

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building nanoev_tiny_httpd with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. 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