C# Класс Phun.Templating.PhunResponse

Phun response.
Наследование: IResponse
Показать файл Открыть проект

Открытые методы

Метод Описание
PhunResponse ( System.Web.HttpContextBase context ) : System.Web

Initializes a new instance of the PhunResponse class.

addHeader ( string name, string value ) : void

Adds the header.

clearContent ( ) : void

Clears the content.

clearHeaders ( ) : void

Clears the header.

end ( ) : void

Ends this instance.

flush ( ) : void

Flushes this instance.

redirect ( string url ) : void

Redirects the specified URL.

write ( string chars ) : void

Writes the specified chars.

Описание методов

PhunResponse() публичный Метод

Initializes a new instance of the PhunResponse class.
public PhunResponse ( System.Web.HttpContextBase context ) : System.Web
context System.Web.HttpContextBase The context.
Результат System.Web

addHeader() публичный Метод

Adds the header.
public addHeader ( string name, string value ) : void
name string The name.
value string The value.
Результат void

clearContent() публичный Метод

Clears the content.
public clearContent ( ) : void
Результат void

clearHeaders() публичный Метод

Clears the header.
public clearHeaders ( ) : void
Результат void

end() публичный Метод

Ends this instance.
public end ( ) : void
Результат void

flush() публичный Метод

Flushes this instance.
public flush ( ) : void
Результат void

redirect() публичный Метод

Redirects the specified URL.
public redirect ( string url ) : void
url string The URL.
Результат void

write() публичный Метод

Writes the specified chars.
public write ( string chars ) : void
chars string The chars.
Результат void