Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.2
-
Tested on Windows 7 and Ubuntu 12
-
Patch Available
Description
This patch adds a createHttpGetPostServer() function to the Node.js library allowing a server to be created which will serve pages as well as handle Thrift RPC. This is convenient in avoiding cross domain browser issues for testing among other things. In particular, Browser based html/JavaScript can be loaded from the node server and Thrift RPC calls can be made subsequently to the same server. The patch includes a demo with a hello.html (the browser client), hello.js (the node server) and hello.thrift (the service definition).