Skip to content
Docs Try Aspire

NgrokEndpoint Constructors

Record Constructors 1 member
Describes a ngrok endpoint.
Constructor(string, string?, IDictionary<string, string>) Section titled Constructor(string, string?, IDictionary<string, string>)
Describes a ngrok endpoint.
public record NgrokEndpoint
{
public NgrokEndpoint(
string EndpointName,
string? Url,
IDictionary<string, string>? Labels = null)
{
// ...
}
}
EndpointName string A unique name for this endpoint's configuration.
Url string? The address you would like to use to forward traffic to your upstream service. Leave empty to get a randomly assigned address.
Labels IDictionary<string, string> optional An optional dictionary of labels to apply to the endpoint.