Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size

HTTPServer example

E-mail Print PDF
Implementation of a multithreaded HTTPServer as a Qore class (used in examples).  See the XmlRpcHandler.qc and JsonRpcHandler.qc files for the handler implementations.
 
Spawns a new thread for each request; can handle "gzip" and "deflate" content-encoding, chunked transfer-encoding, supports any number of listeners (can listen on more than one port) and more.
 
source: HTTPServer.qc
Last Updated on Monday, 04 June 2007 15:10