My java backend raised a exception.
1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
But another client works. I think there is an issue with StompClient->Send()
void USTOMPWebSocketClient::SendBinary(const FString& Destination, const TArray<uint8>& Body, const TMap<FName, FString>& Header,
const FSTOMPRequestCompleted& CompletionCallback)
{
StompClient->Send(Destination, Body, Header,
FStompRequestCompleted::CreateLambda([CompletionCallback](bool bSuccess, const FString& Error)->void {
CompletionCallback.ExecuteIfBound(bSuccess, Error);
})
);
}
My java backend raised a exception.
But another client works. I think there is an issue with
StompClient->Send()