Hello everyone,
I’m not very familiar yet with UE4 Programming uses and I am stuck in a bad situation…
I want to make some HTTP requests to connect to a Webplatform so I used this tutorial to do it : A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
It perfectly works, I can retrieve a xmlcontent which contains a “Connection Id” that I need to do an other HTTP request on the same plateform !
The only problem is that the RequestProcess is done in an other thread (with this line if I have well undestood) :
Request->OnProcessRequestComplete().BindUObject(this, &AHttpActor::OnResponseReceived);
So when I try my second HTTP operation (in the main thread) I have not already the “Connection Id” I need and the Request failed…
So I know that I have to use DELEGATES (AddDynamic ?) to wait for my first operation, but I’m totally new to it and I don’t really understand how to listen for this Event…
I have seen a lot of topics on this subject but I didn’t find one which well explain how to do to wait for an event …
I hope somebody here could help me and explain to me how it works
Have a good day