Hi everyone.
In this video we need to fix one mobile relay to the gateway.
Okay, inside the French service, these are the accept foreign request in current.
I already send this.
Okay, right.
Let me open the French service.
I will go to the accept.
Over here.
Okay.
In Bolivia.
I already got this line.
I already commented us and this.
Okay, okay.
Actually, it pretty much the same.
Accept I don't send the friend request only because I realized the friend don't need that.
Okay, that's the first one.
Okay.
Here and here will be exactly the same.
And I also want to send entirely respond friend request video.
Okay.
And the important field in this case will be the current user ID.
So inside the handle accept request let me show you.
I already have that the sent ID Data and hold a media event.
Okay, this is the current idea.
This is the whole event.
Okay.
When we launch the front end job, we need to know this field to notify back to the another client.
Okay.
Right now it's if you don't understand.
And if your job if you are not understand, maybe I will show you in the front end application.
Uh, for example, for example, let me show you here.
Um.
I will go to the front end.
I will click on the pupil people.
Learn a little bit.
Right now, for example, I will log out into this account.
I will click on invitation.
When I click on Add Friend it will automatically add the new field over here.
You can see right.
I not do the responsive right now.
But the important point right now is uh, when I click on accept okay.
Because I already accept right?
When I click on accept I want this button.
This button right here will be changed back to the Art friend button okay.
That reason I need to know who emit the event.
Because right now this guy, this guy is the whole emit event, right?
It means the whole.
We already logged in in this whole account, right?
When I click on accept button, it will become the whole emit event.
Right.
And actually, it actually worked.
Right.
But it did not show.
It actually show the image.
The button over here.
Right.
You got the idea.
That reason I send the whole image event.
So I hope you understand that.
If not, you just need to learn the front end.
Or even if you not not understand and you only care about the back end in the real world, when the
front end tells you, please give us, give us like that, okay?
You just need to go to the back end and send that data for front end before they will consume that data.
Okay.
Because in order to truly understand the web socket and socket and all you should understand the whole
site will be the client and server.
Okay.
Without one problem, you will not able to understand fully about the socket at all.
So that's for the video.