Function: httpLink()
On this page
httpLink<
TRouter>(opts):TRPCLink<TRouter>
Defined in: packages/client/dist/httpLink-Cd3n7PrK.d.mts:24
A terminating link that sends each call in its own HTTP request. It can
send FormData and binary inputs.
Type Parameters
| Type Parameter | Default type |
|---|---|
TRouter extends AnyRouter | AnyRouter |
Parameters
| Parameter | Type |
|---|---|
opts | HTTPLinkOptions<TRouter["_def"]["_config"]["$types"]> |
Returns
TRPCLink<TRouter>