Methods

Arachni::RPC::Request

Represents an RPC request.

It's here only for formalization purposes, it's not actually sent over the wire.

What is sent is a hash generated by {prepare_for_tx}. which is in the form of:

{
    'message'     => msg, # RPC message in the form of 'handler.method'
    'args'        => args, # optional array of arguments for the remote method
    'token'       => token, # optional authentication token
}

Any client that has SSL support and can serialize a Hash just like the one above can communicate with the RPC server.

@author: Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

Attributes

args[RW]

Optional array of arguments for the remote method.

@return [Array]

callback[RW]

Callback to be invoked on the response.

@return [Proc]

message[RW]

RPC message in the form of 'handler.method'.

@return [String]

token[RW]

Optional authentication token.

@return [String]

Public Class Methods

new( * ) click to toggle source

@see Message#initialize

# File lib/arachni/rpc/request.rb, line 66
def initialize( * )
    super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.