package tiny_httpd

  1. Overview
  2. Docs

Module Tiny_httpd_core.IOSource

IO abstraction.

We abstract IO so we can support classic unix blocking IOs with threads, and modern async IO with Eio.

NOTE: experimental.

  • since 0.14
Sourcemodule Buf = Buf
Sourcemodule Slice = Iostream.Slice
Sourcemodule Output : sig ... end

Output channel (byte sink)

Sourcemodule Input : sig ... end

Input channel (byte source)

Sourcemodule Writer : sig ... end

A writer abstraction.

Sourcemodule TCP_server : sig ... end

A TCP server abstraction.