From 2d90647f9f6f36ac424a6b8f2e86e110eb0c5fd2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 May 2009 20:20:40 +0000 Subject: Documentation. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2014 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/Event.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src/engine/Event.cpp') diff --git a/src/engine/Event.cpp b/src/engine/Event.cpp index e48d32a2..f79c975a 100644 --- a/src/engine/Event.cpp +++ b/src/engine/Event.cpp @@ -26,6 +26,34 @@ * HTTP and WebDAV standards as closely as possible.

*/ + +/** \page methods + *

POST

+ * As per HTTP (RFC2616 S9.5). + * + * Append properties to a graph object. + * + * An object can have several properties with a single predicate. + * POST appends properties without modifying or removing existing properties. + */ + + +/** \page methods + *

PUT

+ * As per HTTP (RFC2616 S9.6). + * + * Set properties of a graph object, or create an object. + * + * An object can have several properties with a single predicate. + * \li If the object does not yet exist, the message must contain sufficient + * information to create the object (e.g. known rdf:type properties, etc.) + * \li If the object does exist, a PUT removes all existing object properties + * with predicates that match any property in the message, then adds all + * properties from the message. + */ + + + namespace Ingen { -- cgit v1.2.1