Class DefaultRestClientProvider
Inheritance
System.Object
DefaultRestClientProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord.Net.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public static class DefaultRestClientProvider
Fields
| Improve this Doc View SourceInstance
Declaration
public static readonly RestClientProvider Instance
Field Value
| Type | Description |
|---|---|
| RestClientProvider |
Methods
| Improve this Doc View SourceCreate(Boolean)
Declaration
public static RestClientProvider Create(bool useProxy = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | useProxy |
Returns
| Type | Description |
|---|---|
| RestClientProvider |
Exceptions
| Type | Condition |
|---|---|
| System.PlatformNotSupportedException | The default RestClientProvider is not supported on this platform. |