Included Modules

Files

Class/Module Index [+]

Quicksearch

SOAP::HTTPStreamHandler

Attributes

client[R]
wiredump_file_base[RW]

Public Class Methods

create(options) click to toggle source
# File lib/soap/streamHandler.rb, line 139
def self.create(options)
  new(options)
end
new(options) click to toggle source
# File lib/soap/streamHandler.rb, line 143
def initialize(options)
  super()
  @client = Client.new(nil, "SOAP4R/#{ Version }")
  if @client.respond_to?(:request_filter)
    @client.request_filter << HttpPostRequestFilter.new(@filterchain)
  end
  @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 lib/soap/streamHandler.rb, line 162
def accept_encoding_gzip=(allow)
  @accept_encoding_gzip = allow
end
inspect() click to toggle source
# File lib/soap/streamHandler.rb, line 166
def inspect
  "#<#{self.class}>"
end
reset(url = nil) click to toggle source
# File lib/soap/streamHandler.rb, line 177
def reset(url = nil)
  if url.nil?
    @client.reset_all
  else
    @client.reset(url)
  end
  @client.save_cookie_store if @cookie_store
end
send(url, conn_data, soapaction = nil, charset = @charset) click to toggle source
# File lib/soap/streamHandler.rb, line 170
def send(url, conn_data, soapaction = nil, charset = @charset)
  conn_data.soapaction ||= soapaction # for backward conpatibility
  conn_data = send_post(url, conn_data, charset)
  @client.save_cookie_store if @cookie_store
  conn_data
end
test_loopback_response() click to toggle source
# File lib/soap/streamHandler.rb, line 158
def test_loopback_response
  @client.test_loopback_response
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.