Software /
code /
prosody-modules
Comparison
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 |
parent | 1803:4d73a1a6ba68 |
child | 4853:3804332c204e |
comparison
equal
deleted
inserted
replaced
1819:1b08597b5e6f | 1820:8de50be756e5 |
---|---|
34 Protocol | 34 Protocol |
35 ======== | 35 ======== |
36 | 36 |
37 A new stream is opened like this: | 37 A new stream is opened like this: |
38 | 38 |
39 <iq type="set" id="newconn1" to="tcp.example.com"> | 39 ``` {.xml} |
40 <open xmlns='http://jabber.org/protocol/ibb' | 40 <iq type="set" id="newconn1" to="tcp.example.com"> |
41 sid='connection1' | 41 <open xmlns='http://jabber.org/protocol/ibb' |
42 stanza='message' | 42 sid='connection1' |
43 xmlns:tcp='http://prosody.im/protocol/tcpproxy' | 43 stanza='message' |
44 tcp:host='example.com' | 44 xmlns:tcp='http://prosody.im/protocol/tcpproxy' |
45 tcp:port='80' /> | 45 tcp:host='example.com' |
46 </iq> | 46 tcp:port='80' /> |
47 </iq> | |
48 ``` | |
47 | 49 |
48 The stanza attribute (currently) MUST be 'message', and a block-size, if | 50 The stanza attribute (currently) MUST be 'message', and a block-size, if |
49 given, is (currently) ignored. | 51 given, is (currently) ignored. |
50 | 52 |
51 In response to this stanza you will receive a result upon connection | 53 In response to this stanza you will receive a result upon connection |