C# Class Aegis.Network.Rest.RestAPIServer

Afficher le fichier Open project: SyncZone/AegisFramework

Méthodes publiques

Méthode 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

Méthode Description
ProcessContext ( HttpListenerContext context ) : void
Run ( ) : void

Method Details

AddPrefix() public méthode

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

Join() public méthode

public Join ( ) : void
Résultat void

RestAPIServer() public méthode

public RestAPIServer ( ) : System
Résultat System

Route() public méthode

public Route ( string path, RequestHandler handler ) : void
path string
handler RequestHandler
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void