public async Task <TResponse> SendMultipartAsync <TResponse>(string method, string endpoint, IReadOnlyDictionary <string, object> multipartArgs, RequestOptions options) { var request = new MultipartRestRequest(RestClient, method, endpoint, multipartArgs, options); return(Deserialize <TResponse>(await SendInternalAsync(request).ConfigureAwait(false))); }
public async Task SendMultipartAsync(string method, string endpoint, IReadOnlyDictionary <string, object> multipartArgs, RequestOptions options = null) { var request = new MultipartRestRequest(RestClient, method, endpoint, multipartArgs, options ?? RequestOptions.Default); await SendInternalAsync(request).ConfigureAwait(false); }