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
Headers
Returns the headers of the underlying http request.
public IHeaderDictionary Headers { get; }
Property Value
HttpContext
Returns the underlying HttpContext object for this request
public HttpContext HttpContext { get; }
Property Value
HttpRequest
Returns the underlying HttpRequest for this request.
public HttpRequest HttpRequest { get; }
Property Value
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
LocalPort
Returns the local port (like 80 or 443) for the current request.
public int LocalPort { get; }
Property Value
PostedData
Returns the posted data as binary string.
public string PostedData { get; }
Property Value
QueryString
Returns the query string as clsBPwebQueryString object.
public clsBPwebQueryString QueryString { get; }
Property Value
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
ServerVariables
Returns a reference to the ServerVariables interface for this request.
public ServerVariables ServerVariables { get; }
Property Value
TotalBytes
Returns the total length of the posted data.
public int TotalBytes { get; }
Property Value
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
stringThe name of the server variable.
Returns
- string
The value of the server variable or an empty string if not found.