-
-
Notifications
You must be signed in to change notification settings - Fork 9
mattermostextensions ClientWebSocketExtensions
BigMakCode edited this page Aug 5, 2024
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Mattermost.Extensions
Mattermost.Extensions.ClientWebSocketExtensions[[ClientWebSocketExtensions]]
end
| Returns | Name |
|---|---|
Task<WebsocketMessage> |
ReceiveAsync(ClientWebSocket webSocket, CancellationToken cancellationToken) |
Task<WebsocketMessage> |
RequestAsync(ClientWebSocket webSocket, string action, object data) |
Task |
SendAsync(ClientWebSocket webSocket, TObj obj) |
internal static Task SendAsync<TObj>(ClientWebSocket webSocket, TObj obj)
where TObj : | Type | Name | Description |
|---|---|---|
ClientWebSocket |
webSocket | |
TObj |
obj |
internal static async Task<WebsocketMessage> ReceiveAsync(ClientWebSocket webSocket, CancellationToken cancellationToken)| Type | Name | Description |
|---|---|---|
ClientWebSocket |
webSocket | |
CancellationToken |
cancellationToken |
internal static async Task<WebsocketMessage> RequestAsync(ClientWebSocket webSocket, string action, object data)| Type | Name | Description |
|---|---|---|
ClientWebSocket |
webSocket | |
string |
action | |
object |
data |
Generated with ModularDoc