/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Components/test/testassets/Components.TestServer/WebSocketCompressionConfiguration.cs
15 строк
471 B
Javier Calvarro Nelson
[Blazor] Websocket compression API review feedback (#53835)
09 фев 2024, 11:03
Не верифицирован
09 фев 2024, 11:03
4e5ebb9
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.Connections; namespace TestServer; public class WebSocketCompressionConfiguration { public bool IsCompressionDisabled { get; set; } public string CspPolicy { get; set; } = "'self'"; public Func<HttpContext, WebSocketAcceptContext, Task> ConfigureWebSocketAcceptContext { get; set; } }