signalr_flutter icon indicating copy to clipboard operation
signalr_flutter copied to clipboard

signalr error during negotiation request - signalr_flutter

Open smithFlutter opened this issue 1 year ago • 0 comments

Hello everyone,

I am using the component: signalr_flutter, but when connecting to the server it gives me the error: "signalr error during negotiation request", I have seen that there is a way to skip the negotiation but I cannot find a way with this component, has this happened to anyone?.

Code: `Future initPlatformState() async { signalR = SignalR( "http://midireccion", "mipuerto", hubMethods: ["sendPushClient"], statusChangeCallback: _onStatusChange, transport: Transport.longPolling, hubCallback: _onNewMessage, ); }

void connectedServer() async { await signalr.connect(); //here error.... }

`

Thanks for the help :)

smithFlutter avatar Feb 12 '24 02:02 smithFlutter