Class RequestResponseBase
Inheritance
RequestResponseBase
Assembly: Titanium.Web.Proxy.dll
Syntax
public abstract class RequestResponseBase
Fields
BodyInternal
Cached body content as byte array
Declaration
protected byte[] BodyInternal
Field Value
| Type |
Description |
| System.Byte[] |
|
Properties
Body
Declaration
[Browsable(false)]
public byte[] Body { get; }
Property Value
| Type |
Description |
| System.Byte[] |
|
BodyString
Body as string
Use the encoding specified to decode the byte[] data to string
Declaration
[Browsable(false)]
public string BodyString { get; }
Property Value
ContentEncoding
Content encoding for this request/response
Declaration
public string ContentEncoding { get; }
Property Value
ContentLength
Declaration
public long ContentLength { get; set; }
Property Value
ContentType
Content-type of the request/response
Declaration
public string ContentType { get; set; }
Property Value
Encoding
Encoding for this request/response
Declaration
public Encoding Encoding { get; }
Property Value
HasBody
Has the request/response body?
Declaration
public abstract bool HasBody { get; }
Property Value
Collection of all headers
Declaration
public HeaderCollection Headers { get; }
Property Value
Declaration
public abstract string HeaderText { get; }
Property Value
HttpVersion
Declaration
public Version HttpVersion { get; set; }
Property Value
IsBodyRead
Was the body read by user?
Declaration
public bool IsBodyRead { get; }
Property Value
IsChunked
Is body send as chunked bytes
Declaration
public bool IsChunked { get; set; }
Property Value
KeepBody
Keeps the body data after the session is finished
Declaration
public bool KeepBody { get; set; }
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Overrides