> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# sendToClient

> Send a payload to the client identified by clientId.

# sendToClient

## Summary

Send a payload to the client identified by `clientId`.

## Signature

```typescript theme={null}
sendToClient(clientId: number, data: Uint8Array): void;
```

## Parameters

### clientId

**Type**:`number`

number — numeric client identifier.

### data

**Type**:`Uint8Array`

Uint8Array — payload bytes.

## Returns

**Type**:`void`

Send a payload to the client identified by .
