C# Class Phun.Templating.PhunRequest

Phun request object.
Inheritance: IRequest
Mostrar archivo Open project: noogen/phuncms

Public Methods

Method Description
PhunRequest ( System.Web.HttpContextBase context ) : System.IO

Initializes a new instance of the PhunRequest class.

getContent ( ) : string

Gets the content.

getCookie ( string name ) : string

Sets the cookie.

getForm ( string name ) : string

Gets the form value.

getHeader ( string name ) : string

Gets the header.

getQuery ( string name ) : string

Gets the query.

Method Details

PhunRequest() public method

Initializes a new instance of the PhunRequest class.
public PhunRequest ( System.Web.HttpContextBase context ) : System.IO
context System.Web.HttpContextBase The context.
return System.IO

getContent() public method

Gets the content.
public getContent ( ) : string
return string

getCookie() public method

Sets the cookie.
public getCookie ( string name ) : string
name string The name.
return string

getForm() public method

Gets the form value.
public getForm ( string name ) : string
name string The name.
return string

getHeader() public method

Gets the header.
public getHeader ( string name ) : string
name string The name.
return string

getQuery() public method

Gets the query.
public getQuery ( string name ) : string
name string The name.
return string