Mercurial > prosody-modules
diff mod_tcpproxy/README.markdown @ 1820:8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 Sep 2015 17:30:33 +0200 |
parents | 4d73a1a6ba68 |
children | 3804332c204e |
line wrap: on
line diff
--- a/mod_tcpproxy/README.markdown Wed Sep 02 16:43:34 2015 +0200 +++ b/mod_tcpproxy/README.markdown Wed Sep 02 17:30:33 2015 +0200 @@ -36,14 +36,16 @@ A new stream is opened like this: - <iq type="set" id="newconn1" to="tcp.example.com"> - <open xmlns='http://jabber.org/protocol/ibb' - sid='connection1' - stanza='message' - xmlns:tcp='http://prosody.im/protocol/tcpproxy' - tcp:host='example.com' - tcp:port='80' /> - </iq> +``` {.xml} +<iq type="set" id="newconn1" to="tcp.example.com"> + <open xmlns='http://jabber.org/protocol/ibb' + sid='connection1' + stanza='message' + xmlns:tcp='http://prosody.im/protocol/tcpproxy' + tcp:host='example.com' + tcp:port='80' /> +</iq> +``` The stanza attribute (currently) MUST be 'message', and a block-size, if given, is (currently) ignored.