Crate irctokens

source ·
Expand description

usage

tokenisation

let bytes = b"@id=123 :jess!~jess@hostname PRIVMSG #chat :hello there!";
let line = irctokens::Line::tokenise(bytes).unwrap();
println!("{:?}", line.tags);
println!("{:?}", line.source);
println!("{}", line.command);
println!("{:?}", line.arguments);

Modules

Structs

  • A struct representing all the constituent pieces of an RFC1459/IRCv3 protocol line.