mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
33550d4fc9
Add signed, encrypted messages and attachments with per-session device keys, conversation key discovery, and server-side validation. Extend CI to publish immutable container images and deploy to a VPS, with setup and protocol documentation.
17 lines
404 B
C#
17 lines
404 B
C#
using Govor.API.Filters;
|
|
using Microsoft.AspNetCore.SignalR;
|
|
|
|
namespace Govor.API.Common.Extensions;
|
|
|
|
public static class ConfigurationSignalR
|
|
{
|
|
public static void AddSignalRConf(this IServiceCollection services)
|
|
{
|
|
services.AddSignalR(options =>
|
|
{
|
|
options.MaximumReceiveMessageSize = 1_100_000;
|
|
options.AddFilter<HubExceptionFilter>();
|
|
});
|
|
}
|
|
}
|