Search Results for

    Show / Hide Table of Contents

    Class HttpWebClient

    Used to communicate with the server over HTTP(S)

    Inheritance
    object
    HttpWebClient
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy.Http
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public class HttpWebClient

    Properties

    | Edit this page View Source

    ConnectRequest

    Headers passed with Connect.

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

    IsHttps

    Is Https?

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

    ProcessId

    PID of the local client process for this session (Windows, Linux, and macOS). Remote clients, unsupported platforms, and unresolved sockets yield a non-positive value. See IsSupported.

    Declaration
    public Lazy<int> ProcessId { get; }
    Property Value
    Type Description
    Lazy<int>
    | Edit this page View Source

    Request

    Web Request.

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

    Response

    Web Response. Created on first access so H2/H3 MITM Lite request-only work does not allocate a Response + HeaderCollection graph per stream up front. CompareExchange: H2 request/response legs can race the first access.

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

    UpStreamEndPoint

    Override UpStreamEndPoint for this request; Local NIC via request is made. Ignored for a destination whose address family does not match; prefer UpStreamEndPointIPv4 / UpStreamEndPointIPv6 for dual-stack.

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

    UpStreamEndPointIPv4

    Per-request local bind for IPv4 upstream destinations (overrides server UpStreamEndPointIPv4).

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

    UpStreamEndPointIPv6

    Per-request local bind for IPv6 upstream destinations (overrides server UpStreamEndPointIPv6).

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

    UserData

    Gets or sets the user data.

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