]> git.ipfire.org Git - thirdparty/tornado.git/commit
Added option for triggering callbacks when PING frame is received 1938/head
authorArtur Stawiarski <artur@digitgaming.com>
Wed, 1 Feb 2017 14:24:25 +0000 (14:24 +0000)
committerArtur Stawiarski <artur@digitgaming.com>
Wed, 1 Feb 2017 14:24:25 +0000 (14:24 +0000)
commitef29978302e077a48b4a13dd9490181099c5ea4d
tree95fc3aaba40a7e72ffc15028ea82683b5c3ae7c2
parent69253c820df473407c562a227d0ba36df25018ab
Added option for triggering callbacks when PING frame is received
In order to implement proper application-level handling of disconnections
a developer may want to hook up into the standard "ping" mechanism
of the websocket protocol. This is important for systems where
both the client and the server need to keep track of disconnections,
but based on client-intiated pings only.
tornado/websocket.py