C# 클래스 HappyFunTimes.HFTWebServerUtils

파일 보기 프로젝트 열기: greggman/hft-unity-gamepad 1 사용 예제들

공개 메소드들

메소드 설명
GetGameFile ( string path, byte &content ) : bool
HFTWebServerUtils ( string gamePath ) : System
SendContent ( WebSocketSharp.Net.HttpListenerResponse res, string path, byte content ) : void
SendContent ( WebSocketSharp.Net.HttpListenerResponse res, string path, string content ) : void
SendFile ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
SendJsonBytes ( WebSocketSharp.Net.HttpListenerResponse res, byte data ) : void

메소드 상세

GetGameFile() 공개 메소드

public GetGameFile ( string path, byte &content ) : bool
path string
content byte
리턴 bool

HFTWebServerUtils() 공개 메소드

public HFTWebServerUtils ( string gamePath ) : System
gamePath string
리턴 System

SendContent() 공개 메소드

public SendContent ( WebSocketSharp.Net.HttpListenerResponse res, string path, byte content ) : void
res WebSocketSharp.Net.HttpListenerResponse
path string
content byte
리턴 void

SendContent() 공개 메소드

public SendContent ( WebSocketSharp.Net.HttpListenerResponse res, string path, string content ) : void
res WebSocketSharp.Net.HttpListenerResponse
path string
content string
리턴 void

SendFile() 공개 메소드

public SendFile ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
path string
req WebSocketSharp.Net.HttpListenerRequest
res WebSocketSharp.Net.HttpListenerResponse
리턴 bool

SendJsonBytes() 공개 메소드

public SendJsonBytes ( WebSocketSharp.Net.HttpListenerResponse res, byte data ) : void
res WebSocketSharp.Net.HttpListenerResponse
data byte
리턴 void