C# 클래스 WeebIRCWebEdition.HttpServer

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

공개 프로퍼티들

프로퍼티 타입 설명
DebugCallbackMethod Action
MessageReceivedCallback Action
defaultPage string
disconnect bool
fileDir string
homeDir string
jsonDataToSend string
listener System.Net.Sockets.TcpListener
rawJsonToSend string
runServer Thread

공개 메소드들

메소드 설명
HttpServer ( ) : System
HttpServer ( Action MessageReceivedCallback ) : System
HttpServer ( Action DebugCallbackMethod, Action MessageReceivedCallback, int port ) : System
HttpServer ( Action MessageReceivedCallback, int port ) : System
HttpServer ( int port ) : System
IsFontFile ( string filename ) : bool
IsImageFile ( string filename ) : bool
IsMediaFile ( string filename ) : bool
IsStylingFile ( string filename ) : bool
IsSubtitleFile ( string filename ) : bool
IsWebPageFile ( string filename ) : bool
JsonToSend ( string json ) : void
SendMessage ( string msg ) : void
ServerLogic ( int port ) : void
SetDefaultPage ( string fileName ) : void
SetFileDir ( string dir ) : void
SetWebHomeDir ( string dir ) : void
StopServer ( ) : void

메소드 상세

HttpServer() 공개 메소드

public HttpServer ( ) : System
리턴 System

HttpServer() 공개 메소드

public HttpServer ( Action MessageReceivedCallback ) : System
MessageReceivedCallback Action
리턴 System

HttpServer() 공개 메소드

public HttpServer ( Action DebugCallbackMethod, Action MessageReceivedCallback, int port ) : System
DebugCallbackMethod Action
MessageReceivedCallback Action
port int
리턴 System

HttpServer() 공개 메소드

public HttpServer ( Action MessageReceivedCallback, int port ) : System
MessageReceivedCallback Action
port int
리턴 System

HttpServer() 공개 메소드

public HttpServer ( int port ) : System
port int
리턴 System

IsFontFile() 공개 메소드

public IsFontFile ( string filename ) : bool
filename string
리턴 bool

IsImageFile() 공개 메소드

public IsImageFile ( string filename ) : bool
filename string
리턴 bool

IsMediaFile() 공개 메소드

public IsMediaFile ( string filename ) : bool
filename string
리턴 bool

IsStylingFile() 공개 메소드

public IsStylingFile ( string filename ) : bool
filename string
리턴 bool

IsSubtitleFile() 공개 메소드

public IsSubtitleFile ( string filename ) : bool
filename string
리턴 bool

IsWebPageFile() 공개 메소드

public IsWebPageFile ( string filename ) : bool
filename string
리턴 bool

JsonToSend() 공개 메소드

public JsonToSend ( string json ) : void
json string
리턴 void

SendMessage() 공개 메소드

public SendMessage ( string msg ) : void
msg string
리턴 void

ServerLogic() 공개 메소드

public ServerLogic ( int port ) : void
port int
리턴 void

SetDefaultPage() 공개 메소드

public SetDefaultPage ( string fileName ) : void
fileName string
리턴 void

SetFileDir() 공개 메소드

public SetFileDir ( string dir ) : void
dir string
리턴 void

SetWebHomeDir() 공개 메소드

public SetWebHomeDir ( string dir ) : void
dir string
리턴 void

StopServer() 공개 메소드

public StopServer ( ) : void
리턴 void

프로퍼티 상세

DebugCallbackMethod 공개적으로 프로퍼티

public Action DebugCallbackMethod
리턴 Action

MessageReceivedCallback 공개적으로 프로퍼티

public Action MessageReceivedCallback
리턴 Action

defaultPage 공개적으로 프로퍼티

public string defaultPage
리턴 string

disconnect 공개적으로 정적으로 프로퍼티

public static bool disconnect
리턴 bool

fileDir 공개적으로 프로퍼티

public string fileDir
리턴 string

homeDir 공개적으로 프로퍼티

public string homeDir
리턴 string

jsonDataToSend 공개적으로 프로퍼티

public string jsonDataToSend
리턴 string

listener 공개적으로 프로퍼티

public TcpListener,System.Net.Sockets listener
리턴 System.Net.Sockets.TcpListener

rawJsonToSend 공개적으로 프로퍼티

public string rawJsonToSend
리턴 string

runServer 공개적으로 프로퍼티

public Thread runServer
리턴 Thread