Description

Received a binary message (opcode=0x2)

Since 1.19

Signature

message,binary: ptr(const(Eina.Slice));

C information

C usage

static void
on_efl_net_dialer_websocket_event_message_binary(void *data, const Efl_Event *event)
{
    const Eina_Slice *info = event->info;
    Eo *obj = event->object;
    Data *d = data;
 
    /* event hander code */
}
 
static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_NET_DIALER_WEBSOCKET_EVENT_MESSAGE_BINARY, on_efl_net_dialer_websocket_event_message_binary, d);
}