Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signalr error during negotiation request - signalr_flutter #60

Open
smithFlutter opened this issue Feb 12, 2024 · 0 comments
Open

signalr error during negotiation request - signalr_flutter #60

smithFlutter opened this issue Feb 12, 2024 · 0 comments

Comments

@smithFlutter
Copy link

smithFlutter commented Feb 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant