FrozenStormInteractive / Unreal-SignalR

SignalR client for Unreal Engine
MIT License
44 stars 20 forks source link

I can't receive messages #7

Closed alespin2021 closed 2 years ago

alespin2021 commented 2 years ago

I follow the instructions (unreal 4.27), get connected and send messages to the signalr server... but I can't receive message from the server.

Hub = GEngine->GetEngineSubsystem<USignalRSubsystem>()>CreateHubConnection("http://localhost:5084/echoHub");

Hub->On(TEXT("Say")).BindLambda([](const TArray<FSignalRValue>& Arguments) {
    UE_LOG(LogTemp, Warning, TEXT("Message received"));
    });

Hub->OnConnected().AddLambda([this]{
    UE_LOG(LogTemp, Warning, TEXT("Connected"));
});

Hub->OnConnectionError().AddLambda([](const FString Message) {
    UE_LOG(LogTemp, Warning, TEXT("Error: %s"), *Message);
 });

Hub->Start();

I will like to know at least where to debug... because Im not getting anything

alespin2021 commented 2 years ago

my bad... its ok now

sebamateja commented 1 year ago

@alespin2021 Hello, could you maybe specify what was your issue and how you fixed it?