Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • soap/rpc/cgistub.rb

Class/Module Index [+]

Quicksearch

SOAP::RPC::CGIStub::SOAPStdinRequest

Attributes

body[R]

Public Class Methods

new(stream) click to toggle source
 
               # File soap/rpc/cgistub.rb, line 42
def initialize(stream)
  size = ENV['CONTENT_LENGTH'].to_i || 0
  @body = stream.read(size)
end
            

Public Instance Methods

[](var) click to toggle source
 
               # File soap/rpc/cgistub.rb, line 47
def [](var)
  ENV[var.gsub(/-/, '_').upcase]
end
            
meta_vars() click to toggle source
 
               # File soap/rpc/cgistub.rb, line 51
def meta_vars
  {
    'HTTP_SOAPACTION' => ENV['HTTP_SOAPAction']
  }
end