haskell-xmpp-1.0.2: Haskell XMPP (eXtensible Message Passing Protocol, a.k.a. Jabber) library

Copyright(c) Dmitry Astapov, 2006
LicenseBSD-style (see the file LICENSE)
MaintainerDmitry Astapov <dastapov@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Network.XMPP.Helpers

Description

Various "connection helpers" that let user obtain a handle to pass to initiateStream

Synopsis

Documentation

connectViaHttpProxy :: (Integral a, Show a1) => HostName -> a -> [Char] -> a1 -> IO Handle

Connect to XMPP server on specified host / port via HTTP 1.0 proxy

connectViaTcp

Arguments

:: String

Server (hostname) to connect to

-> Int

Port to connect to

-> IO Handle 

Connect to XMPP server on specified host / port

openStreamFile :: FilePath -> IO Handle

Open file with pre-captured server-to-client XMPP stream. For debugging