Свойство | Тип | Описание | |
---|---|---|---|
GetWebSocketState | WebSocketState | ||
IsClosedOrClosedSent | bool | ||
IsFatalException | bool | ||
ProcessWebSocketRequestAsync | Task | ||
ProcessWebSocketRequestAsync | Task |
Метод | Описание | |
---|---|---|
CloseAsync ( ) : Task | ||
OnClose ( ) : void | ||
OnError ( ) : void | ||
OnMessage ( byte message ) : void | ||
OnMessage ( string message ) : void | ||
OnOpen ( ) : void | ||
SendAsync ( ArraySegment |
||
SendAsync ( string message ) : Task |
Метод | Описание | |
---|---|---|
WebSocketHandler ( int maxIncomingMessageSize, ILogger logger ) : System |
Метод | Описание | |
---|---|---|
GetWebSocketState ( |
||
IsClosedOrClosedSent ( |
||
IsFatalException ( |
||
ProcessWebSocketRequestAsync ( |
||
ProcessWebSocketRequestAsync ( |
public OnMessage ( string message ) : void | ||
message | string | |
Результат | void |
public SendAsync ( ArraySegment |
||
message | ArraySegment |
|
messageType | WebSocketMessageType | |
endOfMessage | bool | |
Результат | Task |
public SendAsync ( string message ) : Task | ||
message | string | |
Результат | Task |
protected WebSocketHandler ( int maxIncomingMessageSize, ILogger logger ) : System | ||
maxIncomingMessageSize | int | |
logger | ILogger | |
Результат | System |