There are many data transport mechanisms such as Websockets, Server Sent Events as HTML5 Transports as well as old transports like Forever frame and ajax long polling. Which tra
Firebase uses a websocket over HTTPS.