5 changed files with 19 additions and 9 deletions
@ -0,0 +1,2 @@ |
|||||||
|
The `Main.hs', `Setup.hs', and `echoclient.cabal' files in this directory are in |
||||||
|
the public domain. |
||||||
@ -1,16 +1,11 @@ |
|||||||
{- |
{- |
||||||
|
|
||||||
|
This directory defines a project that illustrates how to connect, authenticate, |
||||||
Copyright © 2010-2012 Jon Kristensen, Philipp Balzarek |
set a simple presence, receive message stanzas, and echo them back to whoever is |
||||||
|
sending them, using Pontarius XMPP. This file is in the public domain. |
||||||
This file (EchoClient.hs) illustrates how to connect, authenticate, set a simple |
|
||||||
presence, receive message stanzas, and echo them back to whoever is sending |
|
||||||
them, using Pontarius. The contents of this file may be used freely, as if it is |
|
||||||
in the public domain. |
|
||||||
|
|
||||||
-} |
-} |
||||||
|
|
||||||
|
|
||||||
{-# LANGUAGE OverloadedStrings #-} |
{-# LANGUAGE OverloadedStrings #-} |
||||||
|
|
||||||
module Main where |
module Main where |
||||||
@ -0,0 +1,6 @@ |
|||||||
|
This directory defines a project that illustrates how to connect, authenticate, |
||||||
|
set a simple presence, receive message stanzas, and echo them back to whoever is |
||||||
|
sending them, using Pontarius XMPP. |
||||||
|
|
||||||
|
The `Main.hs', `Setup.hs', and `echoclient.cabal' files in this directory may be |
||||||
|
used freely, as they are in the public domain. |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
import Distribution.Simple |
||||||
|
main = defaultMain |
||||||
Loading…
Reference in new issue