SecureBlackbox 2020 PHP Edition

Questions / Feedback?

SendKeepAlive Method

Sends a keep-alive message.

Object Oriented Interface

public function doSendKeepAlive($connectionid);

Procedural Interface

secureblackbox_websocketserver_do_sendkeepalive($res, $connectionid);

Remarks

Use this method to send a keep-alive 'ping' to the client. The response, if it comes back, will be reported via the KeepAliveResponse event.

Keep-alive messages provide good means for keeping the connection alive and stay immune to timeouts.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 PHP Edition - Version 20.0 [Build 8154]