Files

Class Index [+]

Quicksearch

SOAP::RPC::CGIStub::SOAPStdinRequest

Attributes

body[R]

Public Class Methods

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

Public Instance Methods

[](var) click to toggle source
    # File lib/soap/rpc/cgistub.rb, line 52
52:     def [](var)
53:       ENV[var.gsub(/-/, '_').upcase]
54:     end
cookies() click to toggle source
    # File lib/soap/rpc/cgistub.rb, line 62
62:     def cookies
63:       if cookie = ENV['HTTP_Cookie'] || ENV['Cookie']
64:         [WEBrick::Cookie.parse(cookie)]
65:       else
66:         EMPTY_COOKIES
67:       end
68:     end
meta_vars() click to toggle source
    # File lib/soap/rpc/cgistub.rb, line 56
56:     def meta_vars
57:       {
58:         'HTTP_SOAPACTION' => ENV['HTTP_SOAPAction']
59:       }
60:     end
user() click to toggle source
    # File lib/soap/rpc/cgistub.rb, line 70
70:     def user
71:       ENV['REMOTE_USER']
72:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.