Description

Sends a PING (opcode=0x9) to the server.

The server should reply with a PONG, which will be emitted as "pong" event.

Since 1.19

Signature

ping {
    params {
        @in reason: free(string, free) @optional;
    }
}

C signature

void efl_net_dialer_websocket_ping(Eo *obj, const char *reason);

Parameters

  • reason (in) - Reason

Implemented by

  • Efl.Net.Dialer.Websocket.ping