Update readme with TLS

This commit is contained in:
Thomas Jager 2012-11-07 21:57:10 +01:00
parent 9e880ef476
commit 5f2c062fb5

View File

@ -47,8 +47,12 @@ AddCallback Example
Commands Commands
-------- --------
irc.IRC("<nick>", "<user>") //Create new ircobj ircobj := irc.IRC("<nick>", "<user>") //Create new ircobj
//Set options
ircobj.UseTLS = true //default is false
//ircobj.TLSOptions //set ssl options
ircobj.Password = "[server password]" ircobj.Password = "[server password]"
//Commands
ircobj.Connect("irc.someserver.com:6667") //Connect to server ircobj.Connect("irc.someserver.com:6667") //Connect to server
ircobj.Sendraw("<string>") //sends string to server. Adds \r\n ircobj.Sendraw("<string>") //sends string to server. Adds \r\n
ircobj.Sendraw("<formatstring>", ...) //sends formatted string to server.n ircobj.Sendraw("<formatstring>", ...) //sends formatted string to server.n