9 lines
357 B
C#
9 lines
357 B
C#
|
namespace Uwaa.HTTP.Websockets;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// A delegate called once a HTTP request is upgrade to a websocket.
|
|||
|
/// </summary>
|
|||
|
/// <param name="ws">The websocket to the remote endpoint.</param>
|
|||
|
/// <returns>The status to send to the client when closing the websocket.</returns>
|
|||
|
public delegate Task<CloseStatus> WebsocketHandler(WebsocketRemote ws);
|