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
In some cases such as supporting an environment with an http proxy in place, you may need to use something other than our multiplatform `fetch` call. You can create a custom `AnalyticsHTTPClient` implementation and pass it in to the Analytics Configuration.
559
+
We attempt to use the global `fetch` implementation if available in order to support several diverse environments. Some special cases (e.g. http proxy) may require a different implementation for http communication. A customized wrapper can be provided in the Analytics configuration to support this. Here are a few approaches:
560
560
561
-
An example of supporting proxies with a popular library, axios:
561
+
Use a custom fetch-like implementation with proxy (simple, recommended)
0 commit comments