Class Request
Http(s) request object
Inherited Members
Namespace: Titanium.Web.Proxy.Http
Assembly: Titanium.Web.Proxy.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Request : RequestResponseBase
Properties
| Improve this Doc View SourceExpectationFailed
Did server respond negatively for 100 continue request?
Declaration
public bool ExpectationFailed { get; }
Property Value
Type | Description |
---|---|
Boolean |
ExpectationSucceeded
Did server respond positively for 100 continue request?
Declaration
public bool ExpectationSucceeded { 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
| Improve this Doc View SourceHeaderText
Gets the header text.
Declaration
public override string HeaderText { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
| Improve this Doc View SourceHost
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 |
IsHttps
Is Https?
Declaration
public bool IsHttps { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsMultipartFormData
Does this request contain multipart/form-data?
Declaration
public bool IsMultipartFormData { get; }
Property Value
Type | Description |
---|---|
Boolean |
Method
Request Method.
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
String |
RequestUri
Request HTTP Uri.
Declaration
public Uri RequestUri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
RequestUriString
The request uri as it is in the HTTP header
Declaration
public string RequestUriString { get; set; }
Property Value
Type | Description |
---|---|
String |
UpgradeToWebSocket
Does this request has an upgrade to websocket header?
Declaration
public bool UpgradeToWebSocket { get; }
Property Value
Type | Description |
---|---|
Boolean |
Url
The request url as it is in the HTTP header
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
String |