package paf

  1. Overview
  2. Docs
HTTP/AF and MirageOS

Install

Dune Dependency

Authors

Maintainers

Sources

paf-0.7.0.tbz
sha256=c36946b3e0d8634f0150aba6585c4f1532d02af7513eeec7d457503888c34321
sha512=b72e79ca5c32f7d7b5134417c685f02215e22375c324d7de1d1534e02d75f60a7efdd31c4189176a65f02ead0dcc4eec33ea83e9690c7b0a31ea26aaf12b98e4

doc/paf.mirage/Paf_mirage/Make/TCP/index.html

Module Make.TCPSource

include Mirage_flow.S
type error
val pp_error : error Fmt.t
Sourcetype nonrec write_error = private [>
  1. | Mirage_flow.write_error
]
Sourceval pp_write_error : write_error Fmt.t
Sourcetype flow
Sourceval read : flow -> (Cstruct.t Mirage_flow.or_eof, error) result Lwt.t
Sourceval write : flow -> Cstruct.t -> (unit, write_error) result Lwt.t
Sourceval writev : flow -> Cstruct.t list -> (unit, write_error) result Lwt.t
Sourceval shutdown : flow -> [ `read | `read_write | `write ] -> unit Lwt.t
Sourceval close : flow -> unit Lwt.t
Sourceval dst : flow -> ipaddr * int
Sourceval no_close : flow -> unit
Sourceval to_close : flow -> unit
OCaml

Innovation. Community. Security.