publishBytes abstract method

Future publishBytes(
  1. List<int> message, {
  2. Map<String, String> attributes,
})

Publish bytes as a message.

The message will get the attributes specified in attributes.

The attributes are passed together with the message to the receiver.

Returns a Future which completes with null when the operation is finished.

Implementation

Future publishBytes(List<int> message, {Map<String, String> attributes});