/// <summary> /// Posts file's content to specified uri /// </summary> /// <param name="partialUri">Uri part after server address/fqdn and port</param> /// <param name="parameters">Request parameters after `?`</param> /// <param name="headers">Request headers</param> /// <param name="filePath">File to post</param> /// <param name="authentificationProvider">Authentification provider</param> /// <param name="cancellationToken">Task cancellation token</param> /// <returns></returns> public static Task <RequestResult <string> > PostFileAsync(string partialUri, IDictionary <string, string> parameters = null, IDictionary <string, string> headers = null, string filePath = null, Delegates.AuthentificationDataAdder authentificationProvider = null, CancellationToken cancellationToken = default(CancellationToken)) => RegularClient.PostFileAsync(partialUri, parameters, headers, filePath, authentificationProvider, cancellationToken);