sendBytes method

void sendBytes (String destination, List<int> message, { Map<String, String> headers })

Sends an array of bytes.

  • Note: it sets the content-length header automatically if not specified.
    • message - the message. It shall be an array of bytes (i.e., only the lowest
  • 8 bits are meaningful, aka, octets).


void sendBytes(String destination, List<int> message,
    {Map<String, String> headers});