Search Results for

    Show / Hide Table of Contents

    Class Request

    Http(s) request object

    Inheritance
    object
    RequestResponseBase
    Request
    ConnectRequest
    Inherited Members
    RequestResponseBase.BodyInternal
    RequestResponseBase.KeepBody
    RequestResponseBase.HttpVersion
    RequestResponseBase.Headers
    RequestResponseBase.TrailingHeaders
    RequestResponseBase.ContentLength
    RequestResponseBase.ContentEncoding
    RequestResponseBase.Encoding
    RequestResponseBase.ContentType
    RequestResponseBase.IsChunked
    RequestResponseBase.Body
    RequestResponseBase.BodyString
    RequestResponseBase.IsBodyRead
    RequestResponseBase.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Titanium.Web.Proxy.Http
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    [TypeConverter(typeof(ExpandableObjectConverter))]
    public class Request : RequestResponseBase

    Properties

    | Edit this page View Source

    ExpectContinue

    Does this request has a 100-continue header?

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

    ExpectationFailed

    Did server respond negatively for 100 continue request?

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

    ExpectationSucceeded

    Did server respond positively for 100 continue request?

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

    ExtendedConnectProtocol

    RFC 8441: the value of the :protocol pseudo-header for HTTP/2 extended CONNECT requests (e.g. "websocket"). null for all other requests. This property allows BeforeRequest handlers to identify a WebSocket-over-HTTP/2 upgrade and inspect or modify it before the tunnel is established.

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

    HasBody

    Has request body?

    Declaration
    public override bool HasBody { get; }
    Property Value
    Type Description
    bool
    Overrides
    RequestResponseBase.HasBody
    | Edit this page View Source

    HeaderText

    Gets the header text.

    Declaration
    public override string HeaderText { get; }
    Property Value
    Type Description
    string
    Overrides
    RequestResponseBase.HeaderText
    | Edit this page View Source

    Host

    Http hostname header value if exists. Note: Changing this does NOT change host in RequestUri. Users can set new RequestUri separately.

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

    IsHttps

    Is Https?

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

    IsMultipartFormData

    Does this request contain multipart/form-data?

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

    Method

    Request Method.

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

    RequestUri

    Request HTTP Uri.

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

    RequestUriString

    The request uri as it is in the HTTP header

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

    UpgradeToWebSocket

    Does this request has an upgrade to websocket header? Returns true for both HTTP/1.1 WebSocket upgrades (Upgrade: websocket) and HTTP/2 extended CONNECT tunnels (CONNECT :protocol=websocket, RFC 8441).

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

    Url

    The request url as it is in the HTTP header

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