You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supports use such as:
```javascript
// Not going to write again for a while. If compression middleware is
// installed let's tell it to flush what we've got through to the client.
if (res.flushCompression) {
res.flushCompression();
}
```
Currently the `res` object has a `flush` method regardless of whether
compression middleware is installed. The built-in `flush` method issues a
noisy deprecation warning. This patch provides an alias for the `flush`
method to allow detection of the compression middleware's `flush`.
This addresses expressjs#72.
0 commit comments