C# 클래스 Fleck.WebSocketConnection

상속: IWebSocketConnection
파일 보기 프로젝트 열기: directi/Fleck 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
Close ( int code ) : void
Send ( byte message ) : void
Send ( string message ) : void
StartReceiving ( ) : void
WebSocketConnection ( ISocket socket, Action initialize, WebSocketHttpRequest>.Func parseRequest, IHandler>.Func handlerFactory ) : System

비공개 메소드들

메소드 설명
CloseSocket ( ) : void
CreateHandler ( IEnumerable data ) : void
HandleReadError ( Exception e ) : void
Read ( List data, byte buffer ) : void
SendBytes ( byte bytes, System.Action callback ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Close() 공개 메소드

public Close ( int code ) : void
code int
리턴 void

Send() 공개 메소드

public Send ( byte message ) : void
message byte
리턴 void

Send() 공개 메소드

public Send ( string message ) : void
message string
리턴 void

StartReceiving() 공개 메소드

public StartReceiving ( ) : void
리턴 void

WebSocketConnection() 공개 메소드

public WebSocketConnection ( ISocket socket, Action initialize, WebSocketHttpRequest>.Func parseRequest, IHandler>.Func handlerFactory ) : System
socket ISocket
initialize Action
parseRequest WebSocketHttpRequest>.Func
handlerFactory IHandler>.Func
리턴 System