Class MasqueOptions
Inheritance
MasqueOptions
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
[Experimental("TWP001")]
public sealed class MasqueOptions
Properties
|
Edit this page
View Source
AllowHttp11Upgrade
When true, the listener also offers ALPN http/1.1 and accepts an RFC 9298
Upgrade: connect-udp request. Off by default, so the handshake offers only h2.
Declaration
public bool AllowHttp11Upgrade { get; set; }
Property Value
|
Edit this page
View Source
AllowedPorts
Declaration
public int[] AllowedPorts { get; set; }
Property Value
|
Edit this page
View Source
AuthenticateFunc
Listener-local basic-auth check (username, password). When null, the proxy falls back to
ProxyServer.ProxyBasicAuthenticateFunc. When both are null, authentication fails closed.
Declaration
public Func<string, string, Task<bool>>? AuthenticateFunc { get; set; }
Property Value
|
Edit this page
View Source
BlockPrivateTargets
Declaration
public bool BlockPrivateTargets { get; set; }
Property Value
|
Edit this page
View Source
IdleTimeout
Declaration
public TimeSpan IdleTimeout { get; set; }
Property Value
|
Edit this page
View Source
MaxBytesPerSecond
Declaration
public int MaxBytesPerSecond { get; set; }
Property Value
|
Edit this page
View Source
MaxDatagramsPerSecond
Declaration
public int MaxDatagramsPerSecond { get; set; }
Property Value
|
Edit this page
View Source
MaxTunnels
Declaration
public int MaxTunnels { get; set; }
Property Value
|
Edit this page
View Source
MaxTunnelsPerClient
Declaration
public int MaxTunnelsPerClient { get; set; }
Property Value
|
Edit this page
View Source
RequireAuth
Declaration
public bool RequireAuth { get; set; }
Property Value