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

In Files

  • soap/streamHandler.rb

Class/Module Index [+]

Quicksearch

SOAP::HTTPStreamHandler

Attributes

client[R]
wiredump_file_base[RW]

Public Class Methods

new(options) click to toggle source
 
               # File soap/streamHandler.rb, line 83
def initialize(options)
  super()
  @client = Client.new(nil, "SOAP4R/#{ Version }")
  @wiredump_file_base = nil
  @charset = @wiredump_dev = nil
  @options = options
  set_options
  @client.debug_dev = @wiredump_dev
  @cookie_store = nil
  @accept_encoding_gzip = false
end
            

Public Instance Methods

accept_encoding_gzip=(allow) click to toggle source
 
               # File soap/streamHandler.rb, line 99
def accept_encoding_gzip=(allow)
  @accept_encoding_gzip = allow
end
            
inspect() click to toggle source
 
               # File soap/streamHandler.rb, line 103
def inspect
  "#<#{self.class}>"
end
            
reset(endpoint_url = nil) click to toggle source
 
               # File soap/streamHandler.rb, line 112
def reset(endpoint_url = nil)
  if endpoint_url.nil?
    @client.reset_all
  else
    @client.reset(endpoint_url)
  end
  @client.save_cookie_store if @cookie_store
end
            
send(endpoint_url, conn_data, soapaction = nil, charset = @charset) click to toggle source
 
               # File soap/streamHandler.rb, line 107
def send(endpoint_url, conn_data, soapaction = nil, charset = @charset)
  conn_data.soapaction ||= soapaction # for backward conpatibility
  send_post(endpoint_url, conn_data, charset)
end
            
test_loopback_response() click to toggle source
 
               # File soap/streamHandler.rb, line 95
def test_loopback_response
  @client.test_loopback_response
end