Class FireflyExtensions
public static class FireflyExtensions
- Inheritance
-
objectFireflyExtensions
Methods
IsUpgradeableConnectionAsync(IActionContext, string)
public static bool IsUpgradeableConnectionAsync(this IActionContext ctx, string upgrade = "websocket")
Parameters
ctxIActionContextupgradestring
Returns
UpgradeWebSocketAsync(IActionContext)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx)
Parameters
ctxIActionContext
Returns
UpgradeWebSocketAsync(IActionContext, WebSocketConnectionOptions)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx, WebSocketConnectionOptions options)
Parameters
ctxIActionContextoptionsWebSocketConnectionOptions
Returns
UpgradeWebSocketAsync(IActionContext, string)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx, string subprotocol)
Parameters
ctxIActionContextsubprotocolstring
Returns
UpgradeWebSocketAsync(IActionContext, string, TimeSpan)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx, string subprotocol, TimeSpan keepAliveInterval)
Parameters
ctxIActionContextsubprotocolstringkeepAliveIntervalTimeSpan