Serge
Serge
Nope, it's not supported yet, should be pretty easy to add though.
Closest thing to a roadmap would be TODO section in the readme :) One big missing piece is chunked outgoing responses/requests (it already can parse incoming chunks). Or do you...
@austinfrey Request body isn't (yet) supported, unfortunately. There will be a way to attach `ondata` and `onend` handlers to the request to collect all pieces of the body.
@austinfrey yeah, that would be great! This is where incoming data chunks are pushed into the parser https://github.com/iefserge/eshttp/blob/master/lib/http-request.js#L131. Parser extracts body (if exists) from the request and stores it in...
Callback might be hard to support for node, because it has `listening` event, but no `"listening error"` event. Would this work? Basically the same events as in node: ``` js...
This lib doesn't use EventEmitter, so events are handled by properties like `onclose`, `onerror` that support one possible listener. Arguably makes it more portable, one less dependency I guess. Node's...
I'd keep it without event emitter, it's a little faster and it's one less dependency.
Yep, that should work. See example of the runtime.js backend https://github.com/iefserge/eshttp/blob/master/index-runtime.js It calls `setBackend` to provide backend object, then re-exports eshttp. Backend itself is a set of functions for working...
Thanks, I agree docs are lacking here, we need to improve them. For some usage example, take a look at the script that tests it https://github.com/micnews/apple-news/blob/master/live-test/live-api-test.js#L86
Thanks for the PR, this looks good. Can we add tests for the new endpoints though?