elserv

Author: Yuuichi Teranishi

Updated:

Summary

Yet another HTTP server on Emacsen

Commentary

API for server handling

elserv-start
elserv-find-process
elserv-stop
elserv-publish
elserv-unpublish

API for content making

elserv-make-result
elserv-make-redirect

Example:

(require 'elserv)
(elserv-start 8080)
(elserv-publish (elserv-find-process 8080) "/"
                :string "Hello World."
                :content-type "text/plain")

or write following lines in your .emacs.

(autoload 'elserv-start "elserv" nil t)
(add-hook 'elserv-start-hook
          (lambda ()
            (elserv-publish (elserv-find-process) "/"
                            :string "Hello World."
                            :content-type "text/plain")))

Dependencies