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