package httpcats

  1. Overview
  2. Docs
A simple HTTP client / server using h1, h2, and miou

Install

dune-project
 Dependency

Authors

Maintainers

Sources

httpcats-0.3.3.tbz
sha256=e07ecc6ed9ae9dbf5ae24f7ffcc439357d37e3efe2748c4d4e0dcad732ea3712
sha512=1a5a0f288a812ae60fecd9a693aaeb44598fb6bbf33dd5f1687662da79dc2b5c6a6c45cc37f5d031c126816356fecf0ef04372e85f0813e1589ee16bbd19fb44

doc/httpcats.runtime/Runtime/Flow/module-type-BYTES/index.html

Module type Flow.BYTESSource

A flow which can only speak bytes/string. Use Of_bytes to obtain an S out of it.

type t
val read : t -> ?off:int -> ?len:int -> bytes -> int
val write : t -> ?off:int -> ?len:int -> string -> unit
val close : t -> unit
val shutdown : t -> [ `read | `write | `read_write ] -> unit