Function: httpLink()
httpLink<
TRouter
>(opts
):TRPCLink
<TRouter
>
Type Parameters
Type Parameter | Default type |
---|---|
TRouter extends AnyRouter | AnyRouter |
Parameters
Parameter | Type |
---|---|
opts | HTTPLinkOptions <TRouter ["_def" ]["_config" ]["$types" ]> |
Returns
TRPCLink
<TRouter
>
See
https://trpc.io/docs/client/links/httpLink
Defined in
packages/client/dist/links/httpLink.d.ts:16