diff options
author | Loïc Hoguin <[email protected]> | 2013-03-02 20:33:22 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-03-02 20:33:22 +0100 |
commit | a165a0bf46bdce1847a9cba2df4efc7aab9f7d96 (patch) | |
tree | 243d7bda469e4a1a1fbfaec745692b5d19438531 /guide/introduction.md | |
parent | 8c54c048f22f9ff5d02f53efba0b66aac291e9c3 (diff) | |
download | cowboy-a165a0bf46bdce1847a9cba2df4efc7aab9f7d96.tar.gz cowboy-a165a0bf46bdce1847a9cba2df4efc7aab9f7d96.tar.bz2 cowboy-a165a0bf46bdce1847a9cba2df4efc7aab9f7d96.zip |
Describe arguments of the HTTP handler callbacks
Diffstat (limited to 'guide/introduction.md')
-rw-r--r-- | guide/introduction.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/guide/introduction.md b/guide/introduction.md index e5616b0..a7f35a2 100644 --- a/guide/introduction.md +++ b/guide/introduction.md @@ -108,8 +108,10 @@ handlers, Websocket handlers, REST handlers and static handlers. Their usage is documented in the respective sections of the guide. Most applications use the plain HTTP handler, which has three callback -functions: init/3, handle/2 and terminate/3. Following is an example of -a simple handler module. +functions: init/3, handle/2 and terminate/3. You can find more information +about the arguments and possible return values of these callbacks in the +HTTP handlers section of this guide. Following is an example of a simple +HTTP handler module. ``` erlang -module(my_handler). |