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
Axios has a standard feature called interceptors. It allow to run custom functions before onSuccess and onError, which is very expressive and allow to make along other things, normalization, validation, retries and reuse of code.
The text was updated successfully, but these errors were encountered:
Hi @LifeIsStrange, thanks for providing the proposal for interceptor support. While our current focus in the 1.0/dev branch remains on meeting spec compliance and core features, our goal is certainly to allow for features such as interceptors to be easier to achieve. Additionally, we likely see features such as the proposed being provided externally via extension packages, rather than as a core feature of rsocket-js. With the existing API implemented to satisfy #158, I believe achieving the proposed interceptors would be achievable using such an extension package.
With that being said, we can certainly keep this in mind as development on #158 continues, however, we may not be able to commit to the request at this time.
Axios has a standard feature called interceptors. It allow to run custom functions before onSuccess and onError, which is very expressive and allow to make along other things, normalization, validation, retries and reuse of code.
The text was updated successfully, but these errors were encountered: