Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 1.2 KB

README.md

File metadata and controls

11 lines (6 loc) · 1.2 KB

purescript-node-http2

PureScript bindings to the http2 Node.js module

Usage

The bindings for the module have been implemented, excluding the Compatibility API.

This repo is incompatible with existing node-streams and node-net bindings in the default package set. Instead, this repo uses custom forks of node-streams@update-ffi-build-on-node-event-emitters and node-net@fully-implement that implement their event handlers using the bindings exposed via node-event-emitter. See the packages.dhall file to see how to refer to these forks if you want to use this repo.

The bindings written thus far are mostly safe. There are a few cases where safety cannot be properly handled in PureScript due to some decisions made by Node.js. In other cases, it's not yet clear to me whether to represent something as foreign import data, Object, and/or an ADT.