/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Middleware/WebSockets/src/WebSocketDeflateConstants.cs
22 строки
945 B
Pranav K
Use file scoped namespaces (#38076)
06 ноя 2021, 03:52
Не верифицирован
06 ноя 2021, 03:52
a450cb6
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.WebSockets; internal static class WebSocketDeflateConstants { /// <summary> /// The maximum length that this extension can have, assuming that we're not using extra white space. /// <para /> /// "permessage-deflate; client_max_window_bits=15; client_no_context_takeover; server_max_window_bits=15; server_no_context_takeover" /// </summary> public const int MaxExtensionLength = 128; public const string Extension = "permessage-deflate"; public const string ClientMaxWindowBits = "client_max_window_bits"; public const string ClientNoContextTakeover = "client_no_context_takeover"; public const string ServerMaxWindowBits = "server_max_window_bits"; public const string ServerNoContextTakeover = "server_no_context_takeover"; }