Search Results for

    Show / Hide Table of Contents

    Class MasqueOptions

    Safe defaults for a MasqueProxyEndPoint.

    Inheritance
    object
    MasqueOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    Type Description
    bool
    | Edit this page View Source

    AllowedPorts

    Declaration
    public int[] AllowedPorts { get; set; }
    Property Value
    Type Description
    int[]
    | 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
    Type Description
    Func<string, string, Task<bool>>
    | Edit this page View Source

    BlockPrivateTargets

    Declaration
    public bool BlockPrivateTargets { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IdleTimeout

    Declaration
    public TimeSpan IdleTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    MaxBytesPerSecond

    Declaration
    public int MaxBytesPerSecond { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    MaxDatagramsPerSecond

    Declaration
    public int MaxDatagramsPerSecond { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    MaxTunnels

    Declaration
    public int MaxTunnels { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    MaxTunnelsPerClient

    Declaration
    public int MaxTunnelsPerClient { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    RequireAuth

    Declaration
    public bool RequireAuth { get; set; }
    Property Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX