Méthode | Description | |
---|---|---|
AddConnection ( WebSocketConnection connection ) : void | ||
RemoveConnection ( Guid connectionId ) : void | ||
SendToAllAsync ( string message, CancellationToken cancellationToken ) : Task | ||
SendToAllAsync ( ApiNotificationResponseModel message, CancellationToken cancellationToken ) : Task | ||
WebSocketConnectionsService ( IWebLogger logger ) : System |
public AddConnection ( WebSocketConnection connection ) : void | ||
connection | WebSocketConnection | |
Résultat | void |
public RemoveConnection ( Guid connectionId ) : void | ||
connectionId | Guid | |
Résultat | void |
public SendToAllAsync ( string message, CancellationToken cancellationToken ) : Task | ||
message | string | |
cancellationToken | CancellationToken | |
Résultat | Task |
public SendToAllAsync ( ApiNotificationResponseModel message, CancellationToken cancellationToken ) : Task | ||
message | ApiNotificationResponseModel | |
cancellationToken | CancellationToken | |
Résultat | Task |
public WebSocketConnectionsService ( IWebLogger logger ) : System | ||
logger | IWebLogger | |
Résultat | System |