Share via


IXMLHTTPRequest Members

 

The following tables show the properties, methods, and events.

In C/C++, this interface inherits from the IDispatch interface.

Properties

onreadystatechange*Specifies the event handler to be called when the readyState property changes. Read/write.
readyStateRepresents the state of the request. Read-only.
responseBodyRepresents only one of several forms in which the HTTP response can be returned. Read-only.
responseStreamRepresents only one of several forms in which the HTTP response can be returned. Read-only.
responseTextRepresents the response entity body as a string. Read-only.
responseXMLRepresents the parsed response entity body. Read-only.
statusRepresents the HTTP status code returned by a request. Read-only.
statusTextRepresents the HTTP response line status. Read-only.

* Denotes an extension to the World Wide Web Consortium (W3C) DOM.

Methods

abortCancels the current HTTP request.
getAllResponseHeadersRetrieves the values of all the HTTP headers.
getResponseHeaderRetrieves the value of an HTTP header from the response body.
openInitializes an MSXML2.XMLHTTP request, and specifies the method, URL, and authentication information for the request.
sendSends an HTTP request to the server and receives a response.
setRequestHeaderSpecifies the name of an HTTP header.

Events

None.

See Also

IXMLHTTPRequest