Skip to content

v3.0.0 - Native http2

Compare
Choose a tag to compare
@AndrewBarba AndrewBarba released this 31 Aug 04:21
· 41 commits to master since this release

This version introduces support for the native http2 module in Node.js v8.4.0 or later with fall back to node-spdy in earlier versions of Node.js.

To use the new http2 library you must start your node process with node --expose-http2 and apns2 will automatically use the native module. Later versions of Node.js may expose the native module without the need for a command line flag. In this case, apns2 will automatically use the native module without any additional steps on your end.