C# Class Hansha.Server

Inheritance: IRunnable
Show file Open project: Deathspike/Hansha Class Usage Examples

Public Methods

Method Description
Add ( IHandler handler ) : void
Dispose ( ) : void
RunAsync ( ) : System.Threading.Tasks.Task
Server ( ) : System

Private Methods

Method Description
HandleAsync ( HttpListenerContext context ) : System.Threading.Tasks.Task

Method Details

Add() public method

public Add ( IHandler handler ) : void
handler IHandler
return void

Dispose() public method

public Dispose ( ) : void
return void

RunAsync() public method

public RunAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Server() public method

public Server ( ) : System
return System