def encode_request(name, include_value, local_only):
    client_message = ClientMessage(payload_size=calculate_size(name, include_value, local_only))
    client_message.set_message_type(REQUEST_TYPE)
    client_message.set_retryable(RETRYABLE)
    client_message.append_str(name)
    client_message.append_bool(include_value)
    client_message.append_bool(local_only)
    client_message.update_frame_length()
    return client_message
Lists names of each RabbitMQ vhost
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/queue_add_listener_codec.py/encode_request--crossover with--dataset/ETHPy150Open bkjones/bunnyq/bunnyq.py/Bunny.do_list_vhosts