mirror of
https://github.com/ryzij/ServerMonitor.git
synced 2026-07-14 03:46:58 +00:00
Переименовал ConnectionsResponse -> ConnectionsCountResponse
This commit is contained in:
@@ -49,11 +49,11 @@ public class MonitorController(
|
||||
return Ok(response);
|
||||
}
|
||||
|
||||
[HttpGet("connections")]
|
||||
[HttpGet("connectionsCount")]
|
||||
public async Task<ActionResult> GetConnectionsCountAsync(CancellationToken cancellationToken = default)
|
||||
{
|
||||
var count = await monitorService.GetConnectionsCountAsync(cancellationToken);
|
||||
var response = new ConnectionsResponse
|
||||
var response = new ConnectionsCountResponse
|
||||
{
|
||||
Tcp = count.TcpCount,
|
||||
Udp = count.UdpCount
|
||||
|
||||
Reference in New Issue
Block a user