Module

IXMLHttpRequest

Inheritance
Included Modules
WIN32OLE::VARIANT

IXMLHttpRequest Interface

Attributes

Name Visibility R/W Description
lastargs public R

Methods

Instance

Visibility Signature
public abort ()
public getAllResponseHeaders ()
public getResponseHeader (arg0)
public onreadystatechange= (arg0)
public open (arg0, arg1, arg2=nil, arg3=nil, arg4=nil)
public readyState ()
public responseBody ()
public responseStream ()
public responseText ()
public responseXML ()
public send (arg0=nil)
public setRequestHeader (arg0, arg1)
public status ()
public statusText ()

Instance Method Detail

abort()

VOID abort Abort HTTP request

getAllResponseHeaders()

BSTR getAllResponseHeaders Get all HTTP response headers

getResponseHeader(arg0)

BSTR getResponseHeader Get HTTP response header

  BSTR arg0 --- bstrHeader [IN]

onreadystatechange=(arg0)

VOID onreadystatechange Register a complete event handler

open(arg0, arg1, arg2=nil, arg3=nil, arg4=nil)

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]

readyState()

I4 readyState Get ready state

responseBody()

VARIANT responseBody Get response body

responseStream()

VARIANT responseStream Get response body

responseText()

BSTR responseText Get response body

responseXML()

DISPATCH responseXML Get response body

send(arg0=nil)

VOID send Send HTTP request

  VARIANT arg0 --- varBody [IN]

setRequestHeader(arg0, arg1)

VOID setRequestHeader Add HTTP request header

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

status()

I4 status Get HTTP status code

statusText()

BSTR statusText Get HTTP status text