# HG changeset patch # User Matthew Wild # Date 1281226659 -3600 # Node ID 59d7141827be000b08a6f60f095ffe4ace5cb780 # Parent aa0b78053cecce47a6dd5216f646373d0cef7310 doc/example_bosh.lua: Put url into variable diff -r aa0b78053cec -r 59d7141827be doc/example_bosh.lua --- a/doc/example_bosh.lua Fri Aug 06 17:09:13 2010 +0100 +++ b/doc/example_bosh.lua Sun Aug 08 01:17:39 2010 +0100 @@ -1,5 +1,6 @@ -- Change these: local jid, password = "user@example.com", "secret"; +local url = "http://example.com:80/http-bind"; -- This line squishes verse each time you run, -- handy if you're hacking on Verse itself @@ -9,7 +10,7 @@ require "verse.bosh" -- Verse BOSH support require "verse.client" -- XMPP client library -c = verse.new_bosh(nil, "http://example.com:5280/http-bind"); +c = verse.new_bosh(nil, url); c:add_plugin("version"); -- Add some hooks for debugging