6. Methods In XMLHttpRequest Object (Extended)

The total methods in XMLHttpRequest Object are


Method

Description

abort

Cancels the current HTTP request.

getAllResponseHeaders

Returns the complete list of response headers.

getResponseHeader

Returns the specified response header.

open

Assigns method, destination URL, and other optional attributes of a pending request.

send

Sends an HTTP request to the server and receives a response.

setRequestHeader

Adds custom HTTP headers to the request.


These are the total methods and their descriptions. No need to memorize all. The
basic two methods are discussed here.



Go To Lesson 7