Module IXMLHttpRequest
In: ext/win32ole/sample/xml.rb

IXMLHttpRequest Interface

Methods

Included Modules

WIN32OLE::VARIANT

Attributes

lastargs  [R] 

Public Instance methods

VOID abort Abort HTTP request

BSTR getAllResponseHeaders Get all HTTP response headers

BSTR getResponseHeader Get HTTP response header

  BSTR arg0 --- bstrHeader [IN]

VOID onreadystatechange Register a complete event handler

VOID open Open HTTP connection

  BSTR arg0 --- bstrMethod [IN]
  BSTR arg1 --- bstrUrl [IN]
  VARIANT arg2 --- varAsync [IN]
  VARIANT arg3 --- bstrUser [IN]
  VARIANT arg4 --- bstrPassword [IN]

I4 readyState Get ready state

VARIANT responseBody Get response body

VARIANT responseStream Get response body

BSTR responseText Get response body

DISPATCH responseXML Get response body

VOID send Send HTTP request

  VARIANT arg0 --- varBody [IN]

VOID setRequestHeader Add HTTP request header

  BSTR arg0 --- bstrHeader [IN]
  BSTR arg1 --- bstrValue [IN]

I4 status Get HTTP status code

BSTR statusText Get HTTP status text

[Validate]

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.