Hedwig
Hedwig Application
Starting a client
Hedwig.start_client(%{
jid: "alice@wonderland.lit",
password: "password",
nickname: "alice",
rooms: ["lobby@conference.wonderland.lit"],
handlers: [{Hedwig.Handlers.Help, %{}}, {Hedwig.Handlers.Panzy, %{}}]
})
Stopping a client
pid = Hedwig.whereis("alice@wonderland.lit")
Hedwig.stop_client(pid)
Summary
Functions
Starts a client with the given configuration
Stops a client with the given PID
Find a client PID by JID through the Hedwig.Registry
List all clients