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
For our initial use case fetch is likely the best place to start.
Idea is with a line of code or two clients using the fetch API actually have their requests processed directly by mezzo to persist to disc for future replay.
With minimal code we can monitor all responses. It's possible this is close/sufficient for recording purposes.
Possible alternative implementation are acting as a layer 7/TLS terminating proxy or supporting XHR.
Poly has a nice configurable implementation, for example we could create a new "adapter" package for a fetch interceptor and a new "persister" package for fs storage and let the user customize it as desired.
The text was updated successfully, but these errors were encountered:
sdg9
changed the title
act as proxy? Allow exporting or saving of chlsj json style file?
act as proxy? Allow exporting or saving of chlsj json or HAR style file?
Apr 30, 2022
In react-native fetch is being polyfilled by whatwg-fetch and uses XMLHttpRequest internally. On the web, you are right; it is a different implementation.
For our initial use case fetch is likely the best place to start.
Idea is with a line of code or two clients using the
fetch
API actually have their requests processed directly by mezzo to persist to disc for future replay.Code out there to get familiar with
Possible alternative implementation are acting as a layer 7/TLS terminating proxy or supporting XHR.
Poly has a nice configurable implementation, for example we could create a new "adapter" package for a fetch interceptor and a new "persister" package for fs storage and let the user customize it as desired.
The text was updated successfully, but these errors were encountered: