C# Class ALE.Http.ListenerResponse

Inheritance: IResponse
Show file Open project: blesh/ALE Class Usage Examples

Protected Properties

Property Type Description
InnerResponse System.Net.HttpListenerResponse

Public Methods

Method Description
AddHeader ( string name, string value ) : void
AppendCookie ( Cookie cookie ) : void
AppendHeader ( string name, string value ) : void
Redirect ( string url ) : void
Render ( string view, object model, Action callback ) : IResponse
Send ( ) : void
Write ( byte binary ) : IResponse
Write ( string text ) : IResponse

Private Methods

Method Description
ListenerResponse ( HttpListenerResponse innerResponse, IContext context ) : System

Method Details

AddHeader() public method

public AddHeader ( string name, string value ) : void
name string
value string
return void

AppendCookie() public method

public AppendCookie ( Cookie cookie ) : void
cookie System.Net.Cookie
return void

AppendHeader() public method

public AppendHeader ( string name, string value ) : void
name string
value string
return void

Redirect() public method

public Redirect ( string url ) : void
url string
return void

Render() public method

public Render ( string view, object model, Action callback ) : IResponse
view string
model object
callback Action
return IResponse

Send() public method

public Send ( ) : void
return void

Write() public method

public Write ( byte binary ) : IResponse
binary byte
return IResponse

Write() public method

public Write ( string text ) : IResponse
text string
return IResponse

Property Details

InnerResponse protected property

protected HttpListenerResponse,System.Net InnerResponse
return System.Net.HttpListenerResponse