PackageMetadataResource class final
The NuGet Package Metadata resource, used to retrieve metadata about packages.
See https://learn.microsoft.com/nuget/api/registration-base-url-resource
- Inheritance
-
- Object
- NuGetResource
- PackageMetadataResource
Constructors
- PackageMetadataResource({Client? httpClient, required Uri resourceUri})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
The underlying HTTP client used to make requests.
finalinherited
- resourceUri → Uri
-
The URI of the NuGet resource.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void -
Closes the underlying HTTP client.
inherited
-
getRegistrationIndex(
String packageId) → Future< RegistrationIndexResponse> -
Retrieves the registration index for the package with the
packageId
. -
getRegistrationLeaf(
String leafUrl) → Future< RegistrationLeafResponse> -
Retrieves the registration leaf for the specified
leafUrl
. -
getRegistrationPage(
String pageUrl) → Future< RegistrationPageResponse> -
Retrieves the registration page for the specified
pageUrl
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited