C# Class Aegis.Network.Rest.RestAPIServer

Datei anzeigen Open project: SyncZone/AegisFramework

Public Methods

Method Description
AddPrefix ( string prefix ) : void

사용할 URL 및 포트정보를 지정합니다. http:// 혹은 https:// 로 시작되어야 하며, /로 끝나는 URI로 지정해야 합니다. (ex. http://*:8080/) Start를 호출하기 전에 먼저 호출되어야 합니다.

Join ( ) : void
RestAPIServer ( ) : System
Route ( string path, RequestHandler handler ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
ProcessContext ( HttpListenerContext context ) : void
Run ( ) : void

Method Details

AddPrefix() public method

사용할 URL 및 포트정보를 지정합니다. http:// 혹은 https:// 로 시작되어야 하며, /로 끝나는 URI로 지정해야 합니다. (ex. http://*:8080/) Start를 호출하기 전에 먼저 호출되어야 합니다.
public AddPrefix ( string prefix ) : void
prefix string
return void

Join() public method

public Join ( ) : void
return void

RestAPIServer() public method

public RestAPIServer ( ) : System
return System

Route() public method

public Route ( string path, RequestHandler handler ) : void
path string
handler RequestHandler
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void