# Function: httpBatchLink()

> 

> **httpBatchLink**\<`TRouter`\>(`opts`): [`TRPCLink`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/TRPCLink.md)\<`TRouter`\>

Defined in: packages/client/dist/httpBatchLink-Dxqsu9CE.d.mts:43

A terminating link that batches calls made in the same tick into one HTTP
request.

## Type Parameters

| Type Parameter |
| ------ |
| `TRouter` *extends* `AnyRouter` |

## Parameters

| Parameter | Type |
| ------ | ------ |
| `opts` | [`HTTPBatchLinkOptions`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/HTTPBatchLinkOptions.md)\<`TRouter`\[`"_def"`\]\[`"_config"`\]\[`"$types"`\]\> |

## Returns

[`TRPCLink`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/TRPCLink.md)\<`TRouter`\>

## See

https://trpc.io/docs/client/links/httpBatchLink
