Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Reference

IServerXMLHTTPRequest/ServerXMLHTTP Members

[Visual Basic, Script]

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

[C/C++]

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

This interface inherits from IXMLHTTPRequest.

Properties

onreadystatechange Specifies the event handler to be invoked when the readyState property changes. Read/write.
responseBody Represents the response entity body as an array of unsigned bytes. Read-only.
readyState Represents the state of the request. Read-only.
responseStream Represents the response entity body as an IStream. Read-only.
responseText Represents the response entity body as a string. Read-only.
responseXML Represents the response entity body as parsed by Microsoft® XML Core Services (MSXML) 5.0 for Microsoft Office. Read-only.
status Represents the HTTP status code returned by a request. Read-only.
statusText Represents the HTTP response line status. Read-only.

Methods

Note   The following method names are case-sensitive when used with ServerXMLHTTP, unlike XMLHTTP method names, which are not.

abort Cancels the current HTTP request.
getAllResponseHeaders Retrieves the values of all the HTTP headers.
getOption Returns the value of one of the following options:
  • SXH_OPTION_URL
  • SXH_OPTION_URL_CODEPAGE
  • SXH_OPTION_ESCAPE_PERCENT_IN_URL
  • SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS
  • SXH_OPTION_SELECT_CLIENT_SSL_CERT
getResponseHeader Retrieves the value of an HTTP header from the response body.
open Initializes a request and specifies the method, URL, and authentication information for the request.
send Sends an HTTP request to the server and receives a response.
setOption Sets one of the following options:
  • SXH_OPTION_URL_CODEPAGE
  • SXH_OPTION_ESCAPE_PERCENT_IN_URL
  • SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS
  • SXH_OPTION_SELECT_CLIENT_SSL_CERT
setProxy Specify proxy configuration.
setProxyCredentials Specify proxy authentication credentials.
setTimeouts Specifies timeout settings for resolving the domain name, establishing the connection to the server, sending the data, and receiving the response.
setRequestHeader Specifies the name of an HTTP header.
waitForResponse Allows the requesting server to suspend execution while waiting for an asynchronous send operation to complete.

Events

None.