HTTP Long Polling

Client open a connection to the server and wait until the server return back a response. Therefore, in contrast to HTTP Short Polling, the connection opens a bit longer:

Pasted image 20230918093432.png

It's still inefficient though because there is still a delay time therefore not suitable for real-time messaging.