ServiceIndexResource class final
The NuGet Service Index resource, used to discover other resources.
- Inheritance
-
- Object
- NuGetResource
- ServiceIndexResource
Constructors
- ServiceIndexResource({Client? httpClient, required Uri resourceUri})
- Creates a new instance of the ServiceIndexResource class.
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
-
get(
) → Future< ServiceIndexResponse> - Retrieves the resources available on the package feed defined in resourceUri.
-
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
Static Properties
- nugetOrgServiceIndex → Uri
-
The official
NuGet.org
service index.final