Branch: Tag:

2018-10-03

2018-10-03 10:32:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

WebSocket: Improved handling of keepalive.

By overloading send() to update the keepalive timer, send_text(),
send_binary() et al also do so.

215:    ]));   }    + //! Overloaded to call @[ws_reschedule_keepalive()]. + void send(Protocols.WebSocket.Frame frame) + { +  ws_reschedule_keepalive(); +  ::send(frame); + } +    //! Callback which is called after we've setup the WebSocket   //! connection to tell the application that the connection is ready   //! for use.