public HttpConnectionOptions() { AuthorizationData = new List <IAuthorizeData>(); Transports = HttpTransports.All; WebSockets = new WebSocketOptions(); LongPolling = new LongPollingOptions(); TransportMaxBufferSize = 0; ApplicationMaxBufferSize = 0; }
/// <summary> /// Initializes a new instance of the <see cref="HttpConnectionDispatcherOptions"/> class. /// </summary> public HttpConnectionDispatcherOptions() { AuthorizationData = new List <IAuthorizeData>(); Transports = HttpTransports.All; WebSockets = new WebSocketOptions(); LongPolling = new LongPollingOptions(); TransportMaxBufferSize = DefaultPipeBufferSize; ApplicationMaxBufferSize = DefaultPipeBufferSize; }
/// <summary> /// Initializes a new instance of the <see cref="HttpConnectionDispatcherOptions"/> class. /// </summary> public HttpConnectionDispatcherOptions() { AuthorizationData = new List <IAuthorizeData>(); Transports = HttpTransports.All; WebSockets = new WebSocketOptions(); LongPolling = new LongPollingOptions(); TransportMaxBufferSize = DefaultBufferSize; ApplicationMaxBufferSize = DefaultBufferSize; TransportSendTimeout = TimeSpan.FromSeconds(10); }