메소드 | 설명 | |
---|---|---|
Start ( ) : void |
Starts to receive the WebSocket connection requests.
|
|
Stop ( ) : void |
Stops receiving the WebSocket connection requests.
|
메소드 | 설명 | |
---|---|---|
AcceptWebSocket ( |
Accepts a WebSocket connection request.
|
|
WebSocketServerBase ( ) : System |
Initializes a new instance of the WebSocketServerBase class. This constructor initializes a new instance of this class as non self hosted server. |
|
WebSocketServerBase ( |
Initializes a new instance of the WebSocketServerBase class that listens for incoming connection attempts on the specified address, port, servicePath and secure.
|
|
WebSocketServerBase ( System.Logger logger ) : System |
Initializes a new instance of the WebSocketServerBase class with the specified logger. This constructor initializes a new instance of this class as non self hosted server. |
|
WebSocketServerBase ( string url ) : System |
Initializes a new instance of the WebSocketServerBase class that listens for incoming connection attempts on the specified WebSocket URL.
|
메소드 | 설명 | |
---|---|---|
init ( ) : void | ||
init ( |
||
processRequestAsync ( |
||
receiveRequest ( ) : void | ||
startReceiveRequestThread ( ) : void | ||
tryCreateUri ( string uriString, |
protected abstract AcceptWebSocket ( |
||
context |
/// A |
|
리턴 | void |
protected WebSocketServerBase ( |
||
address |
/// A |
|
port | int |
/// An |
servicePath | string |
/// A |
secure | bool |
/// A |
리턴 | System |
protected WebSocketServerBase ( System.Logger logger ) : System | ||
logger | System.Logger |
/// A |
리턴 | System |
protected WebSocketServerBase ( string url ) : System | ||
url | string |
/// A |
리턴 | System |