How to: Set a custom 10MB limit
gosmee server --max-body-size 10485760
```

###### Client-Side

The `gosmee client` also has a buffer for receiving messages from the server. If you're forwarding payloads larger than the default, you'll need to increase this buffer.

- **Flag**: `--sse-buffer-size`
- **Default**: `1048576` (1MB)
- **Description**: Sets the maximum buffer size in bytes for the client's connection.

Example:

```shell