What is the difference between Standard and Fetch? #538
-
I am seeing standard and fetch servers / clients / OpenAPI adapters. I don't understand the difference between them and did not find anything in the docs. Can anyone clarify this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
On the other hand, In other words, each adapter serves a different environment or purpose - just pick the one that best matches your use case. |
Beta Was this translation helpful? Give feedback.
fetch
is an adapter designed for the Fetch API (as defined by MDN), making it suitable for environments like browsers or edge runtimes that supportfetch
.On the other hand,
standard
is an internal adapter designed for oRPC standard api (internally). All dapters like fetch will trying to convert to standard api and handled by astandard
adapter.In other words, each adapter serves a different environment or purpose - just pick the one that best matches your use case.