initializeDelegateSession

isActive

Polling and Streaming sessions periodically close the current HTTP request and
wait for the next request to come through. During this "downtime" the session is
still open but inactive and unable to send messages and therefore has to buffer
them temporarily. A WebSocket session by contrast is stateful and remain active
until closed.