code: def bind(self, queue='', exchange='', routing_key='', virtual_host='/',
               arguments=None):
          
          bind_payload = json.dumps({
              'destination': queue,
              'destination_type': 'q',
              'routing_key': routing_key,
              'source': exchange,
              'arguments': arguments or {},
              'vhost': virtual_host
          })
          virtual_host = quote(virtual_host, '')
          return self.http_client.post(API_QUEUE_BIND %
                                       (
                                           virtual_host,
                                           exchange,
                                           queue
                                       ),
                                       payload=bind_payload)
docs: Bind a Queue.
  
          :param str queue: Queue name
          :param str exchange: Exchange name
          :param str routing_key: The routing key to use
          :param str virtual_host: Virtual host name
          :param dict|None arguments: Bind key/value arguments
  
          :raises ApiError: Raises if the remote server encountered an error.
          :raises ApiConnectionError: Raises if there was a connectivity issue.
  
          :rtype: None