Skip to content

What is the difference between Standard and Fetch? #538

Answered by unnoq
yacinehmito asked this question in Q&A
Discussion options

You must be logged in to vote

fetch is an adapter designed for the Fetch API (as defined by MDN), making it suitable for environments like browsers or edge runtimes that support fetch.

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 a standard adapter.

In other words, each adapter serves a different environment or purpose - just pick the one that best matches your use case.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yacinehmito
Comment options

Answer selected by yacinehmito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants