# Bandwidth Subsystem

This subsystem allows the client to tell the server about bandwidth constraints.

## Implementations

| Component | Link | |-------------------|----------------------------------------------------------------------------------------------------------------| | client | xpra.client.subsystem.bandwidth | | client connection | xpra.server.source.bandwidth | | server | xpra.server.subsystem.bandwidth |

## Capabilities

| Capability | Type | Purpose | |-----------------------|---------|--------------------------------------------------------| | `bandwidth-limit` | integer | The desired bandwidth limit in bits per second | | `bandwidth-detection` | boolean | Whether the client wants to enable bandwidth detection |

## Network Packets

Only one packet type can be sent to the server.

| Packet Type | Arguments | Purpose | |-------------------|----------------------------|-------------------------------------------------------| | `bandwidth-limit` | `limit` in bits per second | The client can update the bandwidth limit at any time |