Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aatxe/irc
/ functions
Functions
291 in github.com/aatxe/irc
⨍
Functions
291
◇
Types & classes
45
↓ 115 callers
Function
stringify
(cmd: &str, args: &[&str])
irc-proto/src/command.rs:207
↓ 70 callers
Method
collect
collect stream and collect all messages available.
src/client/mod.rs:444
↓ 69 callers
Function
new
()
irc-proto/src/message.rs:311
↓ 68 callers
Function
raw
Makes a raw message from the specified command, arguments, and suffix.
irc-proto/src/command.rs:970
↓ 63 callers
Method
stream
Gets a stream of incoming messages from the `Client`'s connection. This is only necessary when trying to set up more complex clients, and requires use
src/client/mod.rs:985
↓ 56 callers
Function
test_config
()
src/client/mod.rs:1110
↓ 51 callers
Method
as_ref
(&self)
irc-proto/src/caps.rs:52
↓ 17 callers
Method
update_access_level
Updates the user's access level.
src/client/data/user.rs:82
↓ 16 callers
Method
config
(&self)
src/client/mod.rs:518
↓ 12 callers
Method
to_str
Gets the string that corresponds to this subcommand.
irc-proto/src/command.rs:1000
↓ 11 callers
Method
next
(&mut self, cur: char)
irc-proto/src/colors.rs:60
↓ 11 callers
Method
send
(&self, msg: M)
src/client/mod.rs:522
↓ 9 callers
Method
identify
Sends a CAP END, NICK and USER to identify.
src/client/mod.rs:1073
↓ 7 callers
Method
path
Returns the location this Config was loaded from or `<none>`.
src/client/data/config.rs:238
↓ 6 callers
Method
encoding
Gets the encoding to use for this connection. This requires the encode feature to work. This defaults to UTF-8 when not specified.
src/client/data/config.rs:544
↓ 6 callers
Method
send_ctcp_internal
(&self, target: &str, msg: &str)
src/client/mod.rs:800
↓ 6 callers
Method
sender
Get access to a thread-safe sender that can be used with the client.
src/client/mod.rs:969
↓ 6 callers
Method
source_nickname
Gets the nickname of the message source, if it exists. # Example ``` # extern crate irc_proto; # use irc_proto::Message; # fn main() { let message =
irc-proto/src/message.rs:80
↓ 5 callers
Method
add_access_level
Adds an access level to the list, and updates the highest level if necessary.
src/client/data/user.rs:99
↓ 5 callers
Method
current_nickname
Gets the current nickname in use.
src/client/mod.rs:529
↓ 5 callers
Method
nickname
Gets the nickname specified in the configuration.
src/client/data/config.rs:404
↓ 5 callers
Method
sub_access_level
Removes an access level from the list, and updates the highest level if necessary.
src/client/data/user.rs:107
↓ 4 callers
Method
get_nickname
Gets the nickname of the user.
src/client/data/user.rs:55
↓ 4 callers
Method
server
Gets the address of the server specified in the configuration.
src/client/data/config.rs:440
↓ 3 callers
Method
flag
Gets the mode flag associated with this mode with a + or - prefix as needed.
irc-proto/src/mode.rs:243
↓ 3 callers
Method
is_channel_name
(&self)
irc-proto/src/chan.rs:10
↓ 3 callers
Function
to_string
()
irc-proto/src/message.rs:383
↓ 2 callers
Method
access_levels
Gets all the user's access levels.
src/client/data/user.rs:77
↓ 2 callers
Method
alternate_nicknames
Gets the alternate nicknames specified in the configuration. This defaults to an empty vector when not specified.
src/client/data/config.rs:419
↓ 2 callers
Method
cert_path
(&self)
src/client/data/config.rs:516
↓ 2 callers
Method
client_cert_pass
(&self)
src/client/data/config.rs:538
↓ 2 callers
Method
client_cert_path
(&self)
src/client/data/config.rs:532
↓ 2 callers
Method
dangerously_accept_invalid_certs
(&self)
src/client/data/config.rs:523
↓ 2 callers
Function
get_client_value
(client: Client)
src/client/mod.rs:1123
↓ 2 callers
Method
handle_ctcp
(&self, resp: &str, tokens: &[&str])
src/client/mod.rs:771
↓ 2 callers
Method
handle_part
(&self, _: &str, _: &str)
src/client/mod.rs:688
↓ 2 callers
Method
highest_access_level
Gets the user's highest access level.
src/client/data/user.rs:72
↓ 2 callers
Method
into_inner
Gets the inner stream underlying the `Transport`.
src/client/transport.rs:165
↓ 2 callers
Method
is_formatted
(&self)
irc-proto/src/colors.rs:34
↓ 2 callers
Method
log_view
(&self)
src/client/mod.rs:954
↓ 2 callers
Method
next
(&mut self)
src/client/data/user.rs:220
↓ 2 callers
Function
parse_modes
(pieces: &[&str])
irc-proto/src/mode.rs:299
↓ 2 callers
Method
password
Gets the server password specified in the configuration. This defaults to an empty string when not specified.
src/client/data/config.rs:466
↓ 2 callers
Method
port
(&self)
src/client/data/config.rs:450
↓ 2 callers
Method
send_pong
Send a pong.
src/client/transport.rs:83
↓ 2 callers
Function
strip_formatting
(buf: &mut String)
irc-proto/src/colors.rs:48
↓ 2 callers
Method
umodes
Gets the user modes to set on connect specified in the configuration. This defaults to an empty string when not specified.
src/client/data/config.rs:561
↓ 2 callers
Method
use_tls
(&self)
src/client/data/config.rs:510
↓ 1 callers
Method
arg
Gets the arg associated with this mode, if any. Only some channel modes support arguments, e.g. b (ban) or o (oper).
irc-proto/src/mode.rs:253
↓ 1 callers
Method
channel_key
Gets the key for the specified channel if it exists in the configuration.
src/client/data/config.rs:555
↓ 1 callers
Method
channels
Gets the channels to join upon connection. This defaults to an empty vector if it's not specified.
src/client/data/config.rs:550
↓ 1 callers
Method
encode
(&mut self, msg: Message, dst: &mut BytesMut)
irc-proto/src/irc.rs:50
↓ 1 callers
Function
escape_tag_value
(f: &mut dyn Write, value: &str)
irc-proto/src/message.rs:269
↓ 1 callers
Method
ghost_sequence
Gets the NickServ command sequence to recover a nickname. This defaults to `["GHOST"]` when not specified.
src/client/data/config.rs:624
↓ 1 callers
Method
handle_join
(&self, _: &str, _: &str)
src/client/mod.rs:676
↓ 1 callers
Method
handle_message
Handles received messages internally for basic client functionality.
src/client/mod.rs:554
↓ 1 callers
Method
handle_message
Handle an incoming message.
src/client/transport.rs:59
↓ 1 callers
Method
handle_mode
(&self, _: &str, _: &[Mode<ChannelMode>])
src/client/mod.rs:735
↓ 1 callers
Method
handle_namreply
(&self, _: &[String])
src/client/mod.rs:754
↓ 1 callers
Method
handle_nick_change
(&self, _: &str, _: &str)
src/client/mod.rs:718
↓ 1 callers
Method
handle_quit
(&self, _: &str)
src/client/mod.rs:702
↓ 1 callers
Method
handle_sent_message
Handles sent messages internally for basic client functionality.
src/client/mod.rs:543
↓ 1 callers
Method
list_users
(&self, chan: &str)
src/client/mod.rs:1038
↓ 1 callers
Method
mock_initial_value
Gets the initial value for the mock connection. This defaults to false when not specified. This has no effect if `use_mock_connection` is not `true`.
src/client/data/config.rs:642
↓ 1 callers
Method
nick_password
Gets the bot's nickserv password specified in the configuration. This defaults to an empty string when not specified.
src/client/data/config.rs:413
↓ 1 callers
Function
parse
(input: &[String])
examples/convertconf.rs:30
↓ 1 callers
Method
ping_time
Gets the amount of time in seconds for the interval at which the client pings the server. This defaults to 180 seconds when not specified.
src/client/data/config.rs:588
↓ 1 callers
Method
ping_timeout
Gets the amount of time in seconds for the client to disconnect after not receiving a ping response. This defaults to 20 seconds when not specified.
src/client/data/config.rs:595
↓ 1 callers
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/mod.rs:867
↓ 1 callers
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/transport.rs:113
↓ 1 callers
Method
poll_ready
(self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/conn.rs:451
↓ 1 callers
Function
process_msg
(sender: &Sender, message: Message)
examples/multiserver.rs:45
↓ 1 callers
Method
proxy_password
(&self)
src/client/data/config.rs:503
↓ 1 callers
Method
proxy_port
(&self)
src/client/data/config.rs:489
↓ 1 callers
Method
proxy_server
(&self)
src/client/data/config.rs:480
↓ 1 callers
Method
proxy_type
(&self)
src/client/data/config.rs:473
↓ 1 callers
Method
proxy_username
(&self)
src/client/data/config.rs:496
↓ 1 callers
Method
real_name
Gets the real name specified in the configuration. This defaults to the user's nickname when not specified.
src/client/data/config.rs:433
↓ 1 callers
Method
response_target
Gets the likely intended place to respond to this message. If the type of the message is a `PRIVMSG` or `NOTICE` and the message is sent to a channel,
irc-proto/src/message.rs:108
↓ 1 callers
Method
save
Saves a configuration to the desired path. This will use the file extension to detect which format to parse the file as (json, toml, or yaml). Using e
src/client/data/config.rs:323
↓ 1 callers
Method
save_json
(&self, path: &P)
src/client/data/config.rs:351
↓ 1 callers
Method
save_toml
(&self, path: &P)
src/client/data/config.rs:367
↓ 1 callers
Method
save_yaml
(&self, path: &P)
src/client/data/config.rs:383
↓ 1 callers
Method
send_nick_password
(&self)
src/client/mod.rs:620
↓ 1 callers
Method
send_ping
Sends a ping via the transport.
src/client/transport.rs:91
↓ 1 callers
Method
send_umodes
(&self)
src/client/mod.rs:650
↓ 1 callers
Method
sent
Gets a read guard for all the messages sent on the transport.
src/client/transport.rs:236
↓ 1 callers
Method
should_ghost
Gets whether or not to attempt nickname reclamation using NickServ GHOST. This defaults to false when not specified.
src/client/data/config.rs:618
↓ 1 callers
Method
start_send
(self: Pin<&mut Self>, item: Message)
src/client/conn.rs:460
↓ 1 callers
Method
strip_formatting
(self)
irc-proto/src/colors.rs:38
↓ 1 callers
Method
takes_arg
(&self)
irc-proto/src/mode.rs:48
↓ 1 callers
Method
use_mock_connection
Gets whether or not to use a mock connection for testing. This defaults to false when not specified.
src/client/data/config.rs:635
↓ 1 callers
Method
username
Gets the username specified in the configuration. This defaults to the user's nickname when not specified.
src/client/data/config.rs:425
↓ 1 callers
Method
view
Gets a view of the logging for this transport.
src/client/transport.rs:271
↓ 1 callers
Method
with_path
(mut self, path: P)
src/client/data/config.rs:232
Function
access_level
()
src/client/data/user.rs:300
Method
as_channel_modes
TODO: turning more edge cases into errors. Parses the specified mode string as channel modes.
irc-proto/src/mode.rs:294
Method
as_user_modes
TODO: turning more edge cases into errors. Parses the specified mode string as user modes.
irc-proto/src/mode.rs:285
Method
burst_window_length
The amount of time in seconds to consider a window for burst messages. The message throttling system maintains the invariant that in the past `burst_w
src/client/data/config.rs:603
Function
channel_tracking_names
()
src/client/mod.rs:1362
next →
1–100 of 291, ranked by callers