signalr_client icon indicating copy to clipboard operation
signalr_client copied to clipboard

A Flutter SignalR Client for ASP.NET Core

Results 52 signalr_client issues
Sort by recently updated
recently updated
newest added

```dart final defaultHeaders = MessageHeaders(); defaultHeaders.setHeaderValue("HEADER_MOCK_1", "HEADER_VALUE_1"); defaultHeaders.setHeaderValue("HEADER_MOCK_2", "HEADER_VALUE_2"); final httpConnectionOptions = new HttpConnectionOptions( httpClient: WebSupportingHttpClient(logger, httpClientCreateCallback: _httpClientCreateCallback), accessTokenFactory: () => Future.value('JWT_TOKEN'), logger: logger, logMessageContent: true, headers: defaultHeaders); final _hubConnection...

When logging is used, a long-polling connection attempt fails with the following exception: `Failed to start the connection: Unable to connect to the server with any of the available transports....

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: WebSocketException: Connection to 'https://xyz.net:0/signalr-eventHub?id=_LjiDUXe_3sCYmvD-mNJ1g#' was not upgraded to websocket #0 _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1011:41) #1 WebSocket.connect (dart:_http/websocket.dart:320:22)

If you want to use **[Authorize]**, you can use **IOWebSocketChannel** instead of **WebSocketChannel** to pass **Header**. ```DART _webSocket = IOWebSocketChannel.connect(Uri.parse(url), headers: { 'Authorization': 'Bearer ${_accessTokenFactory != null ? await _accessTokenFactory!()...

I'm using: 1. signalR on backend in .net core 7.0.4 2. signalR_netcore in flutter. ^1.3.7 Exception: Unhandled Exception: WebSocketException: Connection to 'https:/xxx/hubs/main?id=5zQMxzPBiDsmCtyvURG4Gg#' was not upgraded to websocket SignalR: Failed to...

Are there any plans to update to the **DART3** version? Among the packages used, there are many inconveniences because they are not compatible with the updated version of **http**. **https://pub.dev/packages/http/versions**

- I followed the exact code mentioned in the example project. - When I put the iOS app in the background for around 30 seconds, SignalR disconnects automatically and when...

I am developing an app with a hub connection...Everything works perfectly when the screen is still on. But when the screen goes dark the connection gets close.

Hello Dear, We used HubConnection in the Order system in Our Kitchen. But, **We are not getting orders after a certain time**. Sometimes it won't work after 1 hour on...

signalr netcore 1.3.6 hello. in hub_connection class and in method _replaceStreamingParams and another method created the variable as this format: final List streams = []; and the next line call...