Table of Contents

Class clsBPwebRequest

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class is used as wrapper/interface for the web request

public class clsBPwebRequest
Inheritance
clsBPwebRequest
Inherited Members
Extension Methods

Properties

Cookies

Returns the cookies as were recieved with this request.

public IRequestCookieCollection Cookies { get; }

Property Value

IRequestCookieCollection

Headers

Returns the headers of the underlying http request.

public IHeaderDictionary Headers { get; }

Property Value

IHeaderDictionary

HttpContext

Returns the underlying HttpContext object for this request

public HttpContext HttpContext { get; }

Property Value

HttpContext

HttpRequest

Returns the underlying HttpRequest for this request.

public HttpRequest HttpRequest { get; }

Property Value

HttpRequest

LocalIPaddress

Returns the local IP address for the current request. It can be either in ip4 format or ip6 format.

public string LocalIPaddress { get; }

Property Value

string

LocalPort

Returns the local port (like 80 or 443) for the current request.

public int LocalPort { get; }

Property Value

int

PostedData

Returns the posted data as binary string.

public string PostedData { get; }

Property Value

string

QueryString

Returns the query string as clsBPwebQueryString object.

public clsBPwebQueryString QueryString { get; }

Property Value

clsBPwebQueryString

RemoteIPaddress

Returns the remote IP address for the current request. It can be either in ip4 format or ip6 format.

public string RemoteIPaddress { get; }

Property Value

string

ServerVariables

Returns a reference to the ServerVariables interface for this request.

public ServerVariables ServerVariables { get; }

Property Value

ServerVariables

TotalBytes

Returns the total length of the posted data.

public int TotalBytes { get; }

Property Value

int

Methods

GetServerVariable(string)

This property can be used to get the text value of a server variables as available in the http context.

public string GetServerVariable(string pName)

Parameters

pName string

The name of the server variable.

Returns

string

The value of the server variable or an empty string if not found.