Check that a method is callable via dRuby.
obj
is the object we want to invoke the method on. msg_id
is the method name, as a Symbol
.
If the method is an insecure method (see insecure_method?
) a SecurityError
is thrown. If the method is private or undefined, a NameError
is thrown.
Returns whether the request may have a body:
Net::HTTP::Post.new(uri).request_body_permitted? # => true Net::HTTP::Get.new(uri).request_body_permitted? # => false
Waits up to the continue timeout for a response from the server provided we’re speaking HTTP 1.1 and are expecting a 100-continue response.
Compile a BeginNode
node
Compile a DefinedNode
node
Compile a ImaginaryNode
node
Compile a InNode
node
Compile a IntegerNode
node
Compile a RangeNode
node
Compile a RetryNode
node
Compile a StatementsNode
node
Compile a TrueNode
node
Dispatch enter and leave events for BeginNode
nodes and continue walking the tree.
Dispatch enter and leave events for DefinedNode
nodes and continue walking the tree.
Dispatch enter and leave events for ImaginaryNode
nodes and continue walking the tree.
Dispatch enter and leave events for InNode
nodes and continue walking the tree.