lib/wamp/client/request/base.rb
# Makes the request to the broker/dealer
#
# @return [Int] - request_id
Makes the request to the broker/dealer
Makes the request to the broker / dealer
def request(*args, &callback)
          request_id = self.generate_id
          lookup, message = self.create_request(request_id, *args, &callback)
          self.requests[request_id] = lookup if lookup
          send_message(message)
          request_id
        end
def request ( * args , & callback ) request_id = self . generate_id lookup , message = self . create_request ( request_id , * args , & callback ) self . requests [ request_id ] = lookup if lookup send_message ( message ) request_id end
Makes the request to the broker/dealer
Makes the request to the broker / dealer
# Generate an ID # Get the unique lookup/message for the request # Store in the pending requests # Send the message
None
Int
args
<not_specific>
callback
<not_specific>