Mercurial > prosody-modules
diff mod_component_http/README.markdown @ 2951:01ed9eb111d4
mod_component_http: Fix headings in README
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 26 Mar 2018 13:52:38 +0100 |
parents | 18e6d437003f |
children | 0092bcceda0a |
line wrap: on
line diff
--- a/mod_component_http/README.markdown Mon Mar 26 13:49:13 2018 +0100 +++ b/mod_component_http/README.markdown Mon Mar 26 13:52:38 2018 +0100 @@ -32,7 +32,7 @@ ``` Configuration -------------- +============= Option Description ------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------- @@ -40,10 +40,10 @@ component\_post\_stanzas A list of stanza types to forward over HTTP. Defaults to `{ "message" }`. Details -------- +======= Requests -======== +-------- Each received stanza is converted into a JSON object, and submitted to `component_post_url` using a HTTP POST request. @@ -64,7 +64,7 @@ Responses -========= +--------- If you wish to respond to a stanza, you may include a reply when you respond to the HTTP request. @@ -80,7 +80,7 @@ sent by components must have a 'to' and 'from'. Presence -======== +-------- By default the module automatically handles presence to provide an always-on component, that automatically accepts subscription requests. @@ -89,6 +89,6 @@ Compatibility -------------- +============= Should work with all versions of Prosody from 0.9 upwards.