cometd / cometd-nodejs-server

CometD server for NodeJS
Apache License 2.0
12 stars 4 forks source link

body-parser support #8

Closed cwmunn closed 7 years ago

cwmunn commented 7 years ago

Currently the handler for the nodejs server relies on 'data' and 'end' events to accumulate and process data. It would be handy if it could optionally take data from request.body when the body-parser middleware is also being used.

We have some other middleware that rely on body-parser that we would like to run before the cometd handler if possible.

sbordet commented 7 years ago

Implemented.