a first file was sent by websocket

This commit is contained in:
2019-06-25 17:11:16 +01:00
parent e826a4edc9
commit cc54fb2083
6 changed files with 87 additions and 36 deletions

View File

@ -16,10 +16,12 @@ namespace Yavsc
{
var webSocketOptions = new WebSocketOptions()
{
KeepAliveInterval = TimeSpan.FromSeconds(120),
KeepAliveInterval = TimeSpan.FromSeconds(320),
ReceiveBufferSize = Constants.WebSocketsMaxBufLen,
ReplaceFeature = true
ReplaceFeature = false
};
app.UseWebSockets(webSocketOptions);
app.UseSignalR(Constants.SignalRPath);
}