af1152b001
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
28 lines
847 B
C#
28 lines
847 B
C#
// <copyright file="ForceKeepAliveMessage.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
using System.ComponentModel;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
/// <summary>
|
|
/// Force keep alive websocket messages.
|
|
/// </summary>
|
|
public class ForceKeepAliveMessage : OutboundWebSocketMessage<int>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ForceKeepAliveMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">The timeout in seconds.</param>
|
|
public ForceKeepAliveMessage(int data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.ForceKeepAlive)]
|
|
public override SessionMessageType MessageType => SessionMessageType.ForceKeepAlive;
|
|
}
|