Stick closer to established style guides. Up buffer size to match websocket buffer size from original proxy code.

This commit is contained in:
Matt Perry
2017-05-03 22:39:48 -04:00
committed by Steve Sanderson
parent 54884459bd
commit 02b31d05a2

View File

@@ -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;