Class FireflyExtensions
public static class FireflyExtensions
- Inheritance
-
objectFireflyExtensions
Methods
IsUpgradeableConnectionAsync(IActionContext, string)
public static bool IsUpgradeableConnectionAsync(this IActionContext ctx, string upgrade = "websocket")
Parameters
ctx
IActionContextupgrade
string
Returns
UpgradeWebSocketAsync(IActionContext)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx)
Parameters
ctx
IActionContext
Returns
UpgradeWebSocketAsync(IActionContext, WebSocketConnectionOptions)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx, WebSocketConnectionOptions options)
Parameters
ctx
IActionContextoptions
WebSocketConnectionOptions
Returns
UpgradeWebSocketAsync(IActionContext, string)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx, string subprotocol)
Parameters
ctx
IActionContextsubprotocol
string
Returns
UpgradeWebSocketAsync(IActionContext, string, TimeSpan)
public static Task<IWebSocketConnection> UpgradeWebSocketAsync(this IActionContext ctx, string subprotocol, TimeSpan keepAliveInterval)
Parameters
ctx
IActionContextsubprotocol
stringkeepAliveInterval
TimeSpan