TLSChannel.heartbeat

Attempt to send a heartbeat message (if negotiated with counterparty)

  1. void heartbeat(const(ubyte)* payload, size_t payload_size)
    class TLSChannel
    void
    heartbeat
    (
    const(ubyte)* payload
    ,)
  2. void heartbeat()

Parameters

payload const(ubyte)*

will be echoed back

payload_size size_t

size of payload in bytes

Meta