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
The primary use case for this functionality is logging, but it could also be used for security hooks. Ideally, a before (i.e. before.post) and after (just post) version of each event would be useful, allowing developers to potentially abort or modify requests before they're actually sent.
This could also be useful for post-processing data, such as augmenting the response body of a request before inserting the data into an application.
The text was updated successfully, but these errors were encountered:
The client/resource modules are based on the EventEmitter, but they don't currently emit/relay events.
It would be nice to have the client/resource emit events about the request so the following scenarios would work:
The primary use case for this functionality is logging, but it could also be used for security hooks. Ideally, a
before
(i.e.before.post
) andafter
(justpost
) version of each event would be useful, allowing developers to potentially abort or modify requests before they're actually sent.This could also be useful for post-processing data, such as augmenting the response body of a request before inserting the data into an application.
The text was updated successfully, but these errors were encountered: