soernt / signalr_client

A Flutter SignalR Client for ASP.NET Core
MIT License
131 stars 203 forks source link

invocationId cannot be null #4

Open vkusenko opened 5 years ago

vkusenko commented 5 years ago

Change

return nonblocking
        ? InvocationMessage(methodName, args, MessageHeaders(), null)
        : InvocationMessage(methodName, args, MessageHeaders(), id.toString());

to return InvocationMessage(methodName, args, MessageHeaders(), id.toString()); or add a check by invocationId and remove (if null) from json before sending