Table of Contents

Interface IDownloadApi<TDownloadParams>

Namespace
Apizr.Transferring.Requesting
Assembly
Apizr.Integrations.FileTransfer.dll
public interface IDownloadApi<in TDownloadParams> : ITransferApiBase

Type Parameters

TDownloadParams

Methods

DownloadAsync(string)

[Get("/{filePathOrName}")]
[QueryUriFormat(UriFormat.Unescaped)]
[Cache(CacheMode.None)]
Task<HttpResponseMessage> DownloadAsync(string filePathOrName)

Parameters

filePathOrName string

Returns

Task<HttpResponseMessage>

DownloadAsync(string, IApizrRequestOptions)

[Get("/{filePathOrName}")]
[QueryUriFormat(UriFormat.Unescaped)]
[Cache(CacheMode.None)]
Task<HttpResponseMessage> DownloadAsync(string filePathOrName, IApizrRequestOptions options)

Parameters

filePathOrName string
options IApizrRequestOptions

Returns

Task<HttpResponseMessage>

DownloadAsync(string, TDownloadParams)

[Get("/{filePathOrName}")]
[QueryUriFormat(UriFormat.Unescaped)]
[Cache(CacheMode.None)]
Task<HttpResponseMessage> DownloadAsync(string filePathOrName, TDownloadParams downloadParams)

Parameters

filePathOrName string
downloadParams TDownloadParams

Returns

Task<HttpResponseMessage>

DownloadAsync(string, TDownloadParams, IApizrRequestOptions)

[Get("/{filePathOrName}")]
[QueryUriFormat(UriFormat.Unescaped)]
[Cache(CacheMode.None)]
Task<HttpResponseMessage> DownloadAsync(string filePathOrName, TDownloadParams downloadParams, IApizrRequestOptions options)

Parameters

filePathOrName string
downloadParams TDownloadParams
options IApizrRequestOptions

Returns

Task<HttpResponseMessage>