> For the complete documentation index, see [llms.txt](https://ilinked1337.gitbook.io/anarchy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ilinked1337.gitbook.io/anarchy/documentation/clients/configuration/anarchyproxy.md).

# AnarchyProxy

Namespace: Discord

## Properties

| Name     | Description                       | Type             |
| -------- | --------------------------------- | ---------------- |
| Type     | The proxy's type                  | AnarchyProxyType |
| Host     | The proxy's host (or IP)          | string           |
| Port     | The proxy's port                  | int              |
| Username | The username to auth to the proxy | string           |
| Password | The password to auth to the proxy | string           |

## Methods

### Parse

Parses a proxy string. You'll still have to set Type yourself.

#### Parameters

| Name  | Description      | Type   |
| ----- | ---------------- | ------ |
| proxy | The proxy string | string |

### CreateProxyClient

Creates a proxy client, using the properties of the instance.

#### Returns

The Leaf.xNet.ProxyClient.
