package irc-client-unix
IRC client library - Unix implementation
Install
Dune Dependency
Authors
Maintainers
Sources
irc-client.0.7.1.tar.gz
sha256=ed339aaa57ffd628958b09e33605c7c90a8072cc0827dca34ef0b2344a576538
doc/irc-client-unix/Irc_client_unix/index.html
Module Irc_client_unix
Source
include Irc_client.CLIENT
with type 'a Io.t = 'a
and type Io.inet_addr = Unix.inet_addr
and type Io.config = unit
Send the given message
Send the JOIN command.
Send the NICK command.
Send the PASS command.
Send the PONG command.
Send the PRIVMSG command.
Send the NOTICE command.
Send the QUIT command.
Source
val send_user :
connection:connection_t ->
username:string ->
mode:int ->
realname:string ->
unit Io.t
Send the USER command.
Source
val connect :
?username:string ->
?mode:int ->
?realname:string ->
?password:string ->
?sasl:bool ->
?config:Io.config ->
addr:Io.inet_addr ->
port:int ->
nick:string ->
unit ->
connection_t Io.t
Connect to an IRC server at address addr
. The PASS command will be sent if password
is not None and if sasl
is false
.
Source
val connect_by_name :
?username:string ->
?mode:int ->
?realname:string ->
?password:string ->
?sasl:bool ->
?config:Io.config ->
server:string ->
port:int ->
nick:string ->
unit ->
connection_t option Io.t
Information on keeping the connection alive
Source
val listen :
?keepalive:keepalive ->
connection:connection_t ->
callback:(connection_t -> Irc_message.parse_result -> unit Io.t) ->
unit ->
unit Io.t
listen connection callback
listens for incoming messages on connection
. All server pings are handled internally; all other messages are passed, along with connection
, to callback
.
Source
val reconnect_loop :
?keepalive:keepalive ->
?reconnect:bool ->
after:int ->
connect:(unit -> connection_t option Io.t) ->
f:(connection_t -> unit Io.t) ->
callback:(connection_t -> Irc_message.parse_result -> unit Io.t) ->
unit ->
unit Io.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>