forwardemail / forwardemail/superagent

How to receive multiple responses from just one request?

Open
#1,458 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I'm working with __superagent__ in a personal project and am implementing an _API method_ that executes a _long process_. I send _response messages_ every iteration of the process to inform the client but I'm not able to update the browser with the proper information until the end of the process when response ends that shows all messages.
I would like to know if superagent library is able to do this kind of stuff.

As a background, I'm developing my API in node.js and send iterative messages with `res.write()` method under Express web server.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.