Search Results for

    Show / Hide Table of Contents

    Struct HttpInterceptionContext

    Minimal, read-only context passed to ShouldInterceptHttp to let callers route requests to the fast-forward path or the full interception path without materialising a SessionEventArgs.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Titanium.Web.Proxy.Models
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public readonly struct HttpInterceptionContext

    Properties

    | Edit this page View Source

    ClientProcessId

    Process ID of the local client (explicit proxy / Windows only; null otherwise).

    Declaration
    public int? ClientProcessId { get; init; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    ClientRemoteEndPoint

    Remote IP endpoint of the connected client (null when unavailable).

    Declaration
    public IPEndPoint? ClientRemoteEndPoint { get; init; }
    Property Value
    Type Description
    IPEndPoint
    | Edit this page View Source

    Hostname

    Target hostname (from Host / :authority), no port, no userinfo.

    Declaration
    public string Hostname { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    HttpVersion

    HTTP version (1.1 / 2.0 / 3.0).

    Declaration
    public Version HttpVersion { get; init; }
    Property Value
    Type Description
    Version
    | Edit this page View Source

    IsHttps

    True when the connection is over TLS.

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

    Method

    HTTP method (GET, POST, CONNECT, …).

    Declaration
    public string Method { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    PathAndQuery

    Path and query only (no scheme/authority).

    Declaration
    public string PathAndQuery { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Port

    Target port (80, 443, or explicit).

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

    ProxyEndPoint

    The proxy endpoint that accepted this connection.

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