internal static void Initialize(IConnection connection) { FluorineRtmpContext fluorineContext = new FluorineRtmpContext(connection); WebSafeCallContext.SetData(FluorineContext.FluorineContextKey, fluorineContext); if (log.IsDebugEnabled) log.Debug(__Res.GetString(__Res.Context_Initialized, connection.ConnectionId, connection.Client != null ? connection.Client.Id : "[not set]", connection.Session != null ? connection.Session.Id : "[not set]")); }
internal static void Initialize(IConnection connection) { FluorineRtmpContext fluorineContext = new FluorineRtmpContext(connection); WebSafeCallContext.SetData(FluorineContext.FluorineContextKey, fluorineContext); if (log.IsDebugEnabled) { log.Debug(__Res.GetString(__Res.Context_Initialized, connection.ConnectionId, connection.Client != null ? connection.Client.Id : "[not set]", connection.Session != null ? connection.Session.Id : "[not set]")); } }
internal static void Initialize(IConnection connection) { FluorineRtmpContext context = new FluorineRtmpContext(connection); WebSafeCallContext.SetData("__@fluorinecontext", context); }