lpsanoy_lenvov f0ec0a6345 上传工具以及库文件 vor 2 Jahren
..
Makefile f0ec0a6345 上传工具以及库文件 vor 2 Jahren
README.md f0ec0a6345 上传工具以及库文件 vor 2 Jahren
appweb.conf f0ec0a6345 上传工具以及库文件 vor 2 Jahren
index.html f0ec0a6345 上传工具以及库文件 vor 2 Jahren
server f0ec0a6345 上传工具以及库文件 vor 2 Jahren
server.c f0ec0a6345 上传工具以及库文件 vor 2 Jahren
start.me f0ec0a6345 上传工具以及库文件 vor 2 Jahren

README.md

Simple Action Sample

This sample shows how to create actions. i.e. Simple bindings from URIs to C functions. The sample contains a main program which initializes the server and registers the required actions.

Requirements

To build:

make

To run:

make run

The server listens on port 8080. Browse to:

 http://localhost:8080/action/myaction
 http://localhost:8080/action/myaction?name=Peter&address=Park+Lane

Notes:

The MyAction will parse the form/query parameters and echo their values back.

Code:

Documentation:

See Also: