Compartir a través de


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.
readyState Represents the state of the request. Read-only.
responseBody Represents only one of several forms in which the HTTP response can be returned. Read-only.
responseStream Represents only one of several forms in which the HTTP response can be returned. Read-only.
responseText Represents the response entity body as a string. Read-only.
responseXML Represents the parsed response entity body. Read-only.
status Represents the HTTP status code returned by a request. Read-only.
statusText Represents the HTTP response line status. Read-only.

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

Methods

abort Cancels the current HTTP request.
getAllResponseHeaders Retrieves the values of all the HTTP headers.
getResponseHeader Retrieves the value of an HTTP header from the response body.
open Initializes an MSXML2.XMLHTTP request, and specifies the method, URL, and authentication information for the request.
send Sends an HTTP request to the server and receives a response.
setRequestHeader Specifies the name of an HTTP header.

Events

None.

See Also

IXMLHTTPRequest