Skip to content

signalr error during negotiation request - signalr_flutter #60

@smithFlutter

Description

@smithFlutter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions