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?.
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 :)