C# 클래스 OakBot.SimpleHTTPServer

파일 보기 프로젝트 열기: ocgineer/OakBot 1 사용 예제들

공개 메소드들

메소드 설명
SimpleHTTPServer ( string path ) : System

Construct server with suitable port.

SimpleHTTPServer ( string path, int port ) : System

Construct server with given port.

Stop ( ) : void

Stop server and dispose all functions.

비공개 메소드들

메소드 설명
Initialize ( string path, int port ) : void
Listen ( ) : void
Process ( HttpListenerContext context ) : void

메소드 상세

SimpleHTTPServer() 공개 메소드

Construct server with suitable port.
public SimpleHTTPServer ( string path ) : System
path string Directory path to serve.
리턴 System

SimpleHTTPServer() 공개 메소드

Construct server with given port.
public SimpleHTTPServer ( string path, int port ) : System
path string Directory path to serve.
port int Port of the server.
리턴 System

Stop() 공개 메소드

Stop server and dispose all functions.
public Stop ( ) : void
리턴 void