New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.Messaging.Http

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class HttpRequest

Inheritance: objectHttpRequest

Constructors

C#
public HttpRequest()
C#
public HttpRequest(byte[] buffer)
Parameters:bufferbyte[]

Properties

C#
public byte[] Content { get; set; }
C#
public string DecodedBody { get; }
C#
public Guid Guid { get; set; }
C#
public bool HasCloseConnectionOption { get; }
C#
public NameValueCollection Headers { get; set; }
C#
public string HttpMethod { get; set; }
C#
public string HttpVersion { get; set; }
C#
public int ID { get; }
C#
public string RequestUri { get; set; }
C#
public HttpResponse Response { get; set; }
C#
public DateTime Timestamp { get; set; }

Methods

C#
public void CleanUpConnectionOptions()
C#
public NameValueCollection GetPostFormContent()
Returns:

NameValueCollection

C#
public byte[] GetUnchunkedContent()
Returns:

byte[]

C#
public byte[] ToByteArray()
Returns:

byte[]

C#
public override string ToString()
Returns:

string

Overrides: object.ToString()

C#
public string ToString(bool PrintHeaders)
Parameters:PrintHeadersboolReturns:

string