Class MultipartRestRequest
Implements
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.Queue
Assembly: Discord.Net.Rest.dll
Syntax
public class MultipartRestRequest : RestRequest, IRequest
Constructors
| Improve this Doc View SourceMultipartRestRequest(IRestClient, String, String, IReadOnlyDictionary<String, Object>, RequestOptions)
Declaration
public MultipartRestRequest(IRestClient client, string method, string endpoint, IReadOnlyDictionary<string, object> multipartParams, RequestOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IRestClient | client | |
| System.String | method | |
| System.String | endpoint | |
| System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> | multipartParams | |
| RequestOptions | options |
Properties
| Improve this Doc View SourceMultipartParams
Declaration
public IReadOnlyDictionary<string, object> MultipartParams { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> |
Methods
| Improve this Doc View SourceSendAsync()
Declaration
public override Task<RestResponse> SendAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<RestResponse> |