mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Stick closer to established style guides. Up buffer size to match websocket buffer size from original proxy code.
This commit is contained in:
committed by
Steve Sanderson
parent
54884459bd
commit
02b31d05a2
@@ -16,7 +16,8 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
internal class ConditionalProxyMiddleware
|
internal class ConditionalProxyMiddleware
|
||||||
{
|
{
|
||||||
private const int BUFFER_SIZE = 1024;
|
private const int DefaultHttpBufferSize = 4096;
|
||||||
|
|
||||||
private readonly HttpClient _httpClient;
|
private readonly HttpClient _httpClient;
|
||||||
private readonly RequestDelegate _next;
|
private readonly RequestDelegate _next;
|
||||||
private readonly ConditionalProxyMiddlewareOptions _options;
|
private readonly ConditionalProxyMiddlewareOptions _options;
|
||||||
|
|||||||
Reference in New Issue
Block a user