Class Request
Http(s) request object
Inherited Members
Namespace: Titanium.Web.Proxy.Http
Assembly: Titanium.Web.Proxy.Docs.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Request : RequestResponseBase
Properties
ExpectationFailed
Server responsed negatively for the request for 100 continue
Declaration
public bool ExpectationFailed { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
ExpectContinue
Does this request has a 100-continue header?
Declaration
public bool ExpectContinue { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
HasBody
Has request body?
Declaration
public override bool HasBody { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Overrides
HeaderText
Gets the header text.
Declaration
public override string HeaderText { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
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 |
Is100Continue
Does server responsed positively for 100 continue request
Declaration
public bool Is100Continue { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsHttps
Is Https?
Declaration
public bool IsHttps { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsMultipartFormData
Declaration
public bool IsMultipartFormData { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Method
Request Method
Declaration
public string Method { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
OriginalUrl
The original request Url.
Declaration
public string OriginalUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
RequestUri
Request HTTP Uri
Declaration
public Uri RequestUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |
UpgradeToWebSocket
Does this request has an upgrade to websocket header?
Declaration
public bool UpgradeToWebSocket { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Url
Request Url
Declaration
public string Url { get; }
Property Value
| Type | Description |
|---|---|
| String |