Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2164

Add a Get/Post Http Server to Node along with examples

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.2
    • 0.9.2
    • Node.js - Library
    • 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).

      Attachments

        Activity

          People

            codesf Randy Abernethy
            codesf Randy Abernethy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: