Description

Sends a binary blob (opcode=0x2) to the server.

The slice describing the blob goes in a message which will be delivered as a single entity to the remote peer.

The memory is copied into a local buffer, no references are kept after this method returns.

Since 1.19

Signature

binary_send {
    params {
        @in blob: const(Eina.Slice);
    }
}

C signature

void efl_net_dialer_websocket_binary_send(Eo *obj, const Eina_Slice blob);

Parameters

  • blob (in) - Binary blob to send

Implemented by

  • Efl.Net.Dialer.Websocket.binary_send