Table of Contents

Class ArtifactsClient

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

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class ArtifactsClient : IArtifactsClient
Inheritance
ArtifactsClient
Implements
Inherited Members

Methods

Download(string)

Gets the specified artifact.

public HttpResponseMessage Download(string artifactId)

Parameters

artifactId string

The artifact identifier.

Returns

HttpResponseMessage

DownloadAsync(string, CancellationToken)

Gets the specified artifact.

public 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>