Class HttpEndpoint
An alternate HTTP authority and its relative routing weight.
public sealed class HttpEndpoint
- Inheritance
-
HttpEndpoint
- Inherited Members
Constructors
HttpEndpoint(Uri, int)
Creates an endpoint. The URI must be absolute and weight positive.
public HttpEndpoint(Uri uri, int weight = 1)
Parameters
uriUriweightint
Properties
Uri
The authority used for routed attempts. The original path and query are preserved.
public Uri Uri { get; }
Property Value
- Uri
Weight
The endpoint's relative weight.
public int Weight { get; }