C# Class BF2Statistics.Web.HttpRequest

Show file Open project: BF2Statistics/ControlCenter

Public Properties

Property Type Description
QueryString string>.Dictionary

Protected Properties

Property Type Description
Client HttpClient
PostVars string>.Dictionary

Public Methods

Method Description
GetFormUrlEncodedPostVars ( ) : string>.Dictionary

If a form was submitted using the POST http method, and the entity body is UrlFormEncoded, the post variables can be fetched from this method

HttpRequest ( HttpListenerRequest Request, HttpClient Client ) : System

Creates a new instance of HttpRequest

Method Details

GetFormUrlEncodedPostVars() public method

If a form was submitted using the POST http method, and the entity body is UrlFormEncoded, the post variables can be fetched from this method
public GetFormUrlEncodedPostVars ( ) : string>.Dictionary
return string>.Dictionary

HttpRequest() public method

Creates a new instance of HttpRequest
public HttpRequest ( HttpListenerRequest Request, HttpClient Client ) : System
Request System.Net.HttpListenerRequest
Client HttpClient The HttpClient creating this response
return System

Property Details

Client protected property

The Parent Http Request
protected HttpClient,BF2Statistics.Web Client
return HttpClient

PostVars protected property

A Key => Value collection of our formUrlEncoded POST Vars
protected Dictionary PostVars
return string>.Dictionary

QueryString public property

Contains the Key / Value pairs in the query string
public Dictionary QueryString
return string>.Dictionary