XMLHTTP attribute

zhaozj2021-02-16  103

Method Description ABORT Cancels the current HTTP request. GetAllResponseHeaders retrieves all header fields (header fields) from the response information. GetResponseHeader gets an HTTP header value from the response information body. Open opens a connection to the HTTP server. SetRequestHeader Sets a request for header field. Send sends a request to the HTTP server. Can contain the body.

ServerXMLHTTP object properties

Attribute Value Description OnReadyStateChange Event Processor Reference is for asynchronous operations only. Specifies the event processor that is called when the ready state changes (for example, when the data is returned on the server). ReadyState integrates the state of asynchronous operation: Not initialization (0), is loaded (1), loaded (2), interaction (3), or completed (4). The ResponseBody variable array returns the response information body as an array. ResponseStream istream returns the response information as an ADO Stream object. The ResponseText string returns the response information as a text string. The Responsexml XMLDocument object returns a response information and is considered to be analyzed by the MSXML XMLDOM syntax. The HTTP status code returned by the server is long. StatusText string HTTP response row status.

转载请注明原文地址:https://www.9cbs.com/read-11188.html

New Post(0)