You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i send this string to websocket, i get error:
Newtonsoft.Json.JsonSerializationException: "Type specified in JSON 'WebSocketManager.Common.InvocationDescriptor, WebSocketManager.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not compatible with 'System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. Path 'data.$type', line 5, position 59."
Please, how the string to send to server must be?
The text was updated successfully, but these errors were encountered:
I try to send message in websocket from other soft, wich must send only string.
I intercept string in demo chat and have this:
{
"$type": "WebSocketManager.Common.Message",
"messageType": 1,
"data": {
"$type": "WebSocketManager.Common.InvocationDescriptor",
"methodName": "SendMessage",
"arguments": {
"$type": "System.Object[]",
"$values": [
{
"$type": "System.String",
"$value": "test"
}
]
},
"identifier": {
"$type": "System.Guid",
"$value": "00000000-0000-0000-0000-000000000000"
}
}
}
When i send this string to websocket, i get error:
Please, how the string to send to server must be?
The text was updated successfully, but these errors were encountered: