# File lib/soap/streamHandler.rb, line 139 def self.create(options) new(options) end
# 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
# File lib/soap/streamHandler.rb, line 162 def accept_encoding_gzip=(allow) @accept_encoding_gzip = allow end
# File lib/soap/streamHandler.rb, line 166 def inspect "#<#{self.class}>" end
# 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
# 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
Generated with the Darkfish Rdoc Generator 2.