C# Class tinyweb.framework.FakeResponseContext

Inheritance: IResponseContext
Show file Open project: martinrue/Tinyweb Class Usage Examples

Public Methods

Method Description
AddHeader ( string name, string value ) : void
FakeResponseContext ( ) : System.Collections.Generic
Redirect ( string url ) : void
Write ( string data ) : void
WriteFile ( string data ) : void

Method Details

AddHeader() public method

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

FakeResponseContext() public method

public FakeResponseContext ( ) : System.Collections.Generic
return System.Collections.Generic

Redirect() public method

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

Write() public method

public Write ( string data ) : void
data string
return void

WriteFile() public method

public WriteFile ( string data ) : void
data string
return void