[ApiMember(Name = "TimeoutMs", Description = "The message timeout. If omitted the user will have to confirm viewing the message.", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")]
[ApiMember(Name = "TimeoutMs", Description = "The message timeout. If omitted the user will have to confirm viewing the message.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]
publiclong?TimeoutMs{get;set;}
}
@ -255,7 +255,7 @@ namespace MediaBrowser.Api
thrownewInvalidOperationException("The requested session does not have an open web socket.");
}
}
/// <summary>
/// Posts the specified request.
/// </summary>
@ -399,7 +399,7 @@ namespace MediaBrowser.Api
Data=newMessageCommand
{
Header=request.Header,
Header=string.IsNullOrEmpty(request.Header)?"Message from Server":request.Header,