Method | 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 | |
return | void |
public RemoveConnection ( Guid connectionId ) : void | ||
connectionId | Guid | |
return | void |
public SendToAllAsync ( string message, CancellationToken cancellationToken ) : Task | ||
message | string | |
cancellationToken | CancellationToken | |
return | Task |
public SendToAllAsync ( ApiNotificationResponseModel message, CancellationToken cancellationToken ) : Task | ||
message | ApiNotificationResponseModel | |
cancellationToken | CancellationToken | |
return | Task |
public WebSocketConnectionsService ( IWebLogger logger ) : System | ||
logger | IWebLogger | |
return | System |