class NSURLRequest

Public Instance Methods

to_s() click to toggle source

Provides a to_s method so we can use inspect in instances and get valuable information.

# File motion/core/ns_url_request.rb, line 5
def to_s
  "#<#{self.class}:#{self.object_id} - url: #{self.URL.description},
  headers: #{self.allHTTPHeaderFields.inspect},
  cache policy: #{self.cachePolicy}, Pipelining: #{self.HTTPShouldUsePipelining}, main doc url: #{mainDocumentURL},\
  timeout: #{self.timeoutInterval}, network service type: #{self.networkServiceType} >"
end