Hi Guillaume,
If you need to run existing JavaScript code that requires XMLHttpRequest, the best available option is to implement (the required portions of) XMLHttpRequest on top of something like
Windows provides a COM implementation of XMLHttpRequest, and the next version of ClearScript will allow you to expose it for scripting. However, this solution may not support asynchronous operation and may therefore be of limited use on the server.
Cheers!
If you need to run existing JavaScript code that requires XMLHttpRequest, the best available option is to implement (the required portions of) XMLHttpRequest on top of something like
System.Net.HttpWebRequest
and expose it to the script engine.Windows provides a COM implementation of XMLHttpRequest, and the next version of ClearScript will allow you to expose it for scripting. However, this solution may not support asynchronous operation and may therefore be of limited use on the server.
Cheers!