Navigation

  • index
  • next |
  • Luv documentation »
  • Luv user guide

Luv user guideΒΆ

This guide is a small set of tutorials on using Luv, a binding from OCaml/ReasonML to libuv, the cross-platform asynchronous I/O library in Node.js.

See also:

  • Project page

  • API reference

  • libuv manual

Table of contents

  • Introduction
    • Running the examples
    • Using the repo for experiments
  • Basics
    • Event loops
    • Hello, world!
    • Console output
    • Error handling
    • Handles
    • Example
    • Requests
    • Everything else
    • Buffers
    • Integer types
  • Filesystem
    • Reading/writing files
    • Filesystem operations
    • File change events
  • Networking
    • TCP
    • UDP
    • Querying DNS
    • Example: HTTP GET
    • Network interfaces
  • Threads
    • Starting and waiting
    • libuv thread pool
    • Synchronization primitives
    • Inter-thread communication
    • Multiple event loops
    • OCaml runtime lock
  • Processes
    • Spawning child processes
    • Child process I/O
    • IPC
    • Signals
  • About

Next topic

Introduction

Quick search

Navigation

  • index
  • next |
  • Luv documentation »
  • Luv user guide
© Copyright 2012-2016, Nikhil Marathe, 2014-2020 libuv contributors, 2020-2021 Anton Bachin.