NgrokExtensions
Class static net10.0
Extension methods for adding ngrok to the application model.
namespace Aspire.Hosting;
public static class NgrokExtensions{ // ...}Methods4
Section titled MethodsAddNgrok(IDistributedApplicationBuilder, string, string?, int?, string?, int?)extensionIResourceBuilder<NgrokResource> Configures a container resource for grok which is pre-configured to connect to the resource that this method is used on.
WithAuthToken(IResourceBuilder<NgrokResource>, string)extensionIResourceBuilder<NgrokResource> Adds a ngrok auth token to a ngrok resource.
WithAuthToken(IResourceBuilder<NgrokResource>, IResourceBuilder<ParameterResource>)extensionIResourceBuilder<NgrokResource> Adds a ngrok auth token to a ngrok resource.
WithTunnelEndpoint(IResourceBuilder<NgrokResource>, IResourceBuilder<TResource>, string, string?, IDictionary<string, string>)extensionIResourceBuilder<NgrokResource> Configures a resource with endpoints as a ngrok tunnel endpoint.