[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 53/119: added commentary
From: |
Eric Schulte |
Subject: |
[elpa] 53/119: added commentary |
Date: |
Mon, 10 Mar 2014 16:57:23 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 8dc5226830099992a98ca9c7974dee73739c58a3
Author: Eric Schulte <address@hidden>
Date: Tue Dec 31 16:00:23 2013 -0700
added commentary
---
web-server.el | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/web-server.el b/web-server.el
index 88af45b..ac02cdf 100644
--- a/web-server.el
+++ b/web-server.el
@@ -6,6 +6,25 @@
;; Keywords: http
;; License: GPLV3 (see the COPYING file in this directory)
+;;; Commentary:
+
+;; A web server in Emacs running handlers written in Emacs Lisp.
+;;
+;; Full support for GET and POST requests including URL-encoded
+;; parameters and multi-part/form data.
+;;
+;; See the examples/ directory for examples demonstrating the usage of
+;; the Emacs Web Server. The following launches a simple "hello
+;; world" server.
+;;
+;; (ws-start
+;; '(((lambda (_) t) . ; match every request
+;; (lambda (request) ; reply with "hello world"
+;; (with-slots (process) request
+;; (ws-response-header process 200 '("Content-type" .
"text/plain"))
+;; (process-send-string process "hello world")))))
+;; 9000)
+
;;; Code:
(require 'web-server-status-codes)
(require 'mail-parse) ; to parse multipart data in headers
- [elpa] 42/119: Makefile integration, (continued)
- [elpa] 42/119: Makefile integration, Eric Schulte, 2014/03/10
- [elpa] 44/119: note, Eric Schulte, 2014/03/10
- [elpa] 43/119: more, Eric Schulte, 2014/03/10
- [elpa] 41/119: including examples in documentation, Eric Schulte, 2014/03/10
- [elpa] 47/119: even more documentation and examples, Eric Schulte, 2014/03/10
- [elpa] 48/119: update README, Eric Schulte, 2014/03/10
- [elpa] 49/119: small updates to README and NOTES, Eric Schulte, 2014/03/10
- [elpa] 50/119: MAYBE incremental handler calls, Eric Schulte, 2014/03/10
- [elpa] 46/119: more documentation and examples, Eric Schulte, 2014/03/10
- [elpa] 51/119: renaming files, Eric Schulte, 2014/03/10
- [elpa] 53/119: added commentary,
Eric Schulte <=
- [elpa] 55/119: update link in README, Eric Schulte, 2014/03/10
- [elpa] 54/119: doc tweaks, Eric Schulte, 2014/03/10
- [elpa] 45/119: new request object, Eric Schulte, 2014/03/10
- [elpa] 56/119: fix ports in examples, Eric Schulte, 2014/03/10
- [elpa] 58/119: note: shouldn't use BASIC authentication w/o HTTPS, Eric Schulte, 2014/03/10
- [elpa] 59/119: notes about security & authentication options, Eric Schulte, 2014/03/10
- [elpa] 57/119: BASIC HTTP authentication, Eric Schulte, 2014/03/10
- [elpa] 61/119: fix deprecated file name in file example, Eric Schulte, 2014/03/10
- [elpa] 38/119: starting on documentation, Eric Schulte, 2014/03/10
- [elpa] 60/119: quick benchmarking, Eric Schulte, 2014/03/10