Table of Contents

Interface IArtifactsClient

Namespace
Nexus.Api.V1
Assembly
Nexus.Api.dll

Provides methods to interact with artifacts.

public interface IArtifactsClient

Methods

Download(string)

Gets the specified artifact.

HttpResponseMessage Download(string artifactId)

Parameters

artifactId string

The artifact identifier.

Returns

HttpResponseMessage

DownloadAsync(string, CancellationToken)

Gets the specified artifact.

Task<HttpResponseMessage> DownloadAsync(string artifactId, CancellationToken cancellationToken = default)

Parameters

artifactId string

The artifact identifier.

cancellationToken CancellationToken

The token to cancel the current operation.

Returns

Task<HttpResponseMessage>