GatewayListenerV1
Classsealednet10.0
Represents a listener on a Gateway. A listener defines how the Gateway receives traffic on a specific port and protocol.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class GatewayListenerV1{ // ...}7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesAllowedRoutesget; set Gets or sets the allowed routes configuration for this listener.
Hostnameget; setstring? Gets or sets the optional hostname for this listener. When set, only requests matching this hostname are handled by this listener.
Tlsget; set Gets or sets the TLS configuration for this listener. Required when protocol is HTTPS or TLS.