pub fn publish<S>(channel_id: u16, socket: S, item: PublishItem) -> Published<S>Expand description
Publish an item to AMQP server.
If you want to publish a lot number of items, please consider to use publish_sink function.
Returned item is Future which will be completed when finish to send.