Liking cljdoc? Tell your friends :D

irclj.connection


create-connectionclj

(create-connection host port ssl?)

Creates a socket from a host and a port. Returns a map of the socket and readers over its input and output.

Creates a socket from a host and a port. Returns a map
of the socket and readers over its input and output.
sourceraw docstring

endclj

(end param)

If param is nil, return nil. Otherwise, return param with : prefixed.

If param is nil, return nil. Otherwise, return param with : prefixed.
sourceraw docstring

register-connectionclj

(register-connection irc)

writes NICK and USER (and optionally PASS) messages to IRC, registering the connection.

writes NICK and USER (and optionally PASS) messages to IRC, registering the connection.
sourceraw docstring

safe-line-seqclj

(safe-line-seq rdr)

Get an infinite lazy sequence of lines from a reader.

Get an infinite lazy sequence of lines from a reader.
sourceraw docstring

set-timeoutclj

(set-timeout irc timeout)

Set a timeout on the socket. timeout is in milliseconds.

Set a timeout on the socket. timeout is in milliseconds.
sourceraw docstring

write-irc-lineclj

(write-irc-line irc & s)

Writes a line to the IRC connection and fires the raw-log callback. Can take arbitrary arguments, joining them with spaces (like println).

Writes a line to the IRC connection and fires the raw-log callback.
Can take arbitrary arguments, joining them with spaces (like println).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close