Sys.Net.WebRequestExecutor Class
Provides the abstract base class from which network executors derive.
Namespace:
Sys.Net
Inherits: None
Syntax
MyExecutor.registerClass('MyExecutor', Sys.Net.WebRequestExecutor);
Members
Remarks
The Sys.Net.WebRequestExecutor class is an abstract base class. You cannot instantiate it; instead, you must derive from it by implementing a network executor.
Network requests issued by using the asynchronous communication layer flow through a network executor. Usually, executors interface with the network. However, you could create a storage executor that interacts with a local database instead of the network, or one that performs other work that involves an external resource.
The following example shows how the Sys.Net.XMLHttpExecutor class derives from the WebRequestExecutor class.
Sys.Net.XMLHttpExecutor.registerClass('Sys.Net.XMLHttpExecutor',
Sys.Net.WebRequestExecutor);