public InvokeMethodHandler(ICachingService cachingService, IHubContext <MessageQueueHub> hubContext, StreamFlowConfiguration streamFlowConfiguration, IHelperService helperService) { _helperService = helperService; _cachingService = cachingService; _hubContext = hubContext; _streamFlowConfiguration = streamFlowConfiguration; }
public DequeueMessagesHandler(ICachingService cachingService, IHubContext <MessageQueueHub> hubContext, StreamFlowConfiguration streamFlowConfiguration, IMediator mediator) { _mediator = mediator; _cachingService = cachingService; _hubContext = hubContext; _streamFlowConfiguration = streamFlowConfiguration; }
public void InstallServices(IServiceCollection services, IConfiguration configuration) { services.AddSignalR(o => o.MaximumReceiveMessageSize = 5242880) .AddMessagePackProtocol(o => o.SerializerOptions.WithCompression(MessagePackCompression.Lz4BlockArray)); services.AddResponseCompression(opts => { opts.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat( new[] { "application/octet-stream" }); }); var streamFlowConfiguration = new StreamFlowConfiguration(); configuration.Bind(nameof(streamFlowConfiguration), streamFlowConfiguration); services.AddSingleton(streamFlowConfiguration); }
public SignalRWrapper(StreamFlowConfiguration configuration) : base(configuration) { }
public InvokeMethodResponseHandler(ICachingService cachingService, IHubContext <MessageQueueHub> hubContext, StreamFlowConfiguration streamFlowConfiguration) { _cachingService = cachingService; _hubContext = hubContext; _streamFlowConfiguration = streamFlowConfiguration; }
public RegisterClientHandler(ICachingService cachingService, IHubContext <MessageQueueHub> hubContext, StreamFlowConfiguration streamFlowConfiguration) { _cachingService = cachingService; _hubContext = hubContext; _streamFlowConfiguration = streamFlowConfiguration; }
public PushMessageHandler(ICachingService cachingService, IHubContext <MessageQueueHub> hubContext, StreamFlowConfiguration streamFlowConfiguration) { _streamFlowConfiguration = streamFlowConfiguration; _hubContext = hubContext; _cachingService = cachingService; }