Links

Configure the tRPC client link chain: httpLink, httpBatchLink, httpBatchStreamLink, splitLink, loggerLink, wsLink, createWSClient, httpSubscriptionLink, unstable_localLink, retryLink. Choose the right terminating link. Route subscriptions via splitLink. Build custom links for SOA routing. Link options: url, headers, transformer, maxURLLength, maxItems, connectionParams, EventSource ponyfill.

trpc 11ab01c 2 files · 21.9 KB Updated

File contents

trpc/trpc/tree/main/packages/client/skills/links commit 11ab01c201

Frequently asked questions

npx skillmds add trpc/links