summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/net/dialer/websocket/closed_reason.txt
blob: 1c005c826cffefcee1343cdd05fa69461c4f0201 (plain)
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.Closed_Reason~~
===== Description =====

%%Close reason event payload.%%

//Since 1.19//

{{page>:develop:api-include:efl:net:dialer:websocket:closed_reason:description&nouser&nolink&nodate}}

===== Fields =====

{{page>:develop:api-include:efl:net:dialer:websocket:closed_reason:fields&nouser&nolink&nodate}}

  * **reason** - %%Closing reason%%
  * **message** - %%Textual closing reason message%%

===== Signature =====

<code>
struct Efl.Net.Dialer.Websocket.Closed_Reason {
    reason: Efl.Net.Dialer.Websocket.Close_Reason;
    message: free(string, free);
}
</code>

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

<code c>
typedef struct _Efl_Net_Dialer_Websocket_Closed_Reason {
    Efl_Net_Dialer_Websocket_Close_Reason reason;
    const char *message;
} Efl_Net_Dialer_Websocket_Closed_Reason;
</code>