aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/dialer/websocket/method/ping.txt
blob: e42a42c7c9a0008dcb0ad353a87ef00b292e2d1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
~~Title: Efl.Net.Dialer.Websocket.ping~~
===== Description =====

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

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

//Since 1.19//
{{page>:develop:api-include:efl:net:dialer:websocket:method:ping:description&nouser&nolink&nodate}}

===== Signature =====

<code>
ping {
    params {
        @in reason: free(string, free) @optional;
    }
}
</code>

===== C signature =====

<code c>
void efl_net_dialer_websocket_ping(Eo *obj, const char *reason);
</code>

===== Parameters =====

  * **reason** //(in)// - %%Reason%%

===== Implemented by =====

  * **Efl.Net.Dialer.Websocket.ping**