Skip to content

visualjeff/msg-pack-plugin

Repository files navigation

Build Status

msg-pack-plugin for Hapi v18

  • npm install msg-pack-plugin --save

  • Plugin registration:

        server.register(require('msg-pack-plugin'));
  • To validate using the example in the source you could use curl (this assumes you have msgpack2json installed):

        curl --header "accept: application/x-msgpack" 'http://localhost:3000/api/user' | msgpack2json -d

About

msgpack plugin implementation for hapi

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published