Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates the documentation with 0.2/* changes.
Replaces stream operations on Request and Response on their respective 'body' attributes. Restructures the documentation: - move 'server/*' to 'vsgi/server/*' - adds index files to provide toctrees in vsgi and recipes
- Loading branch information
Showing
16 changed files
with
235 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Recipes | ||
======= | ||
|
||
Recipes are documents providing approaches to common web development tasks and | ||
their potential integration with Valum. | ||
|
||
.. toctree:: | ||
|
||
static-resource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
VSGI | ||
==== | ||
|
||
VSGI is a middleware that interfaces different web server technologies under a | ||
common and simple set of abstractions. | ||
|
||
For the moment, it is developed along with Valum to target the needs of a web | ||
framework, but it will eventually be extracted and distributed as a shared | ||
library. | ||
|
||
It actually supports two technologies (libsoup-2.4 and FastCGI) and more | ||
implementations are planned when the specification will be more stable. | ||
|
||
.. toctree:: | ||
|
||
request | ||
response | ||
converters | ||
server/index | ||
|
||
VSGI produces process-based applications that are able to communicate with | ||
various HTTP servers with protocols and process their client requests | ||
asynchrously. | ||
|
||
The entry point of a VSGI application is type-compatible with the | ||
`ApplicationCallback` delegate. It is a function of two arguments: | ||
a :doc:`request` and a :doc:`response`. | ||
|
||
.. code:: vala | ||
using VSGI.Soup; | ||
new Server ((req, res) => { | ||
// process the request and produce the response... | ||
}).run (); |
Oops, something went wrong.