Class AltSvcOptions
Client-facing Alt-Svc advertisement for a dual-listen HTTP/3 endpoint.
null on the endpoint keeps today's header (h3=":port"; ma=86400)
whenever EnableHttp3 is on.
Assign a new instance to apply changes; the endpoint caches the header text when this object is assigned.
Inherited Members
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
[Experimental("TWP001")]
public sealed class AltSvcOptions
Properties
| Edit this page View SourceEnabled
Declaration
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxAgeSeconds
Overrides the ma parameter (seconds). Null uses 86400.
Declaration
public int? MaxAgeSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Port
Overrides the advertised UDP port. Null uses the endpoint's bound port.
Declaration
public int? Port { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |