> ## 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.

# sendData

> Send a payload to the server.

# sendData

## Summary

Send a payload to the server.

## Signature

```typescript theme={null}
sendData(data: Uint8Array): void;
```

## Parameters

### data

**Type**:`Uint8Array`

Raw payload bytes.

## Returns

**Type**:`void`

Send a payload to the server.

## Remarks

The payload is wrapped in a magic framing packet before being sent.
