Class ProtoHttpClientEndpointRegistration

Namespace
ProtoTest.Http
Assembly
ProtoTest.Http.dll

Records the application endpoint a named HTTP client was registered with, so the resolver can root an in-process transport at the registered path without re-reading the client's initializer.

public sealed record ProtoHttpClientEndpointRegistration : IEquatable<ProtoHttpClientEndpointRegistration>
Inheritance
ProtoHttpClientEndpointRegistration
Implements
Inherited Members
Extension Methods

Constructors

ProtoHttpClientEndpointRegistration(string, string?)

Records the application endpoint a named HTTP client was registered with, so the resolver can root an in-process transport at the registered path without re-reading the client's initializer.

public ProtoHttpClientEndpointRegistration(string ClientName, string? Endpoint)

Parameters

ClientName string
Endpoint string

Properties

ClientName

public string ClientName { get; init; }

Property Value

string

Endpoint

public string? Endpoint { get; init; }

Property Value

string