Skip to content
DocsTry Aspire
DocsTry

NgrokEndpoint Constructors

RecordConstructors1 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)
{
// ...
}
}
EndpointNamestringA unique name for this endpoint's configuration.
Urlstring?The address you would like to use to forward traffic to your upstream service. Leave empty to get a randomly assigned address.
LabelsIDictionary<string, string>optionalAn optional dictionary of labels to apply to the endpoint.