ServerJS/HTTP Client

< ServerJS
Revision as of 02:23, 5 February 2009 by Kdangoor (talk | contribs) (New page: = HTTP Client API = Server side programs often need to grab information via HTTP. There should be an API that makes this as easy as possible. There are certainly other protocols that des...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

HTTP Client API

Server side programs often need to grab information via HTTP. There should be an API that makes this as easy as possible.

There are certainly other protocols that deserve support, but each protocol has its own purpose and interface and will be documented separately if it will become part of the stdlib.

Prior Art

  • XMLHttpRequest is already the standard JS API for HTTP.
  • Here is an extended HTTP API from Ejscript.
  • v8cgi has a HTTP class