Description

Close reason event payload.

Since 1.19

Fields

  • reason - Closing reason
  • message - Textual closing reason message

Signature

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

C signature

typedef struct _Efl_Net_Dialer_Websocket_Closed_Reason {
    Efl_Net_Dialer_Websocket_Close_Reason reason;
    const char *message;
} Efl_Net_Dialer_Websocket_Closed_Reason;