2023-11-25 09:22:55 -08:00
|
|
|
#pragma once
|
|
|
|
|
2023-11-27 19:09:45 -08:00
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
class Connection;
|
2023-11-25 09:22:55 -08:00
|
|
|
|
2023-11-26 15:32:52 -08:00
|
|
|
auto send_ping(Connection&, std::string_view) -> void;
|
|
|
|
auto send_pong(Connection&, std::string_view) -> void;
|
|
|
|
auto send_pass(Connection&, std::string_view) -> void;
|
|
|
|
auto send_user(Connection&, std::string_view, std::string_view) -> void;
|
|
|
|
auto send_nick(Connection&, std::string_view) -> void;
|
|
|
|
auto send_cap_ls(Connection&) -> void;
|
|
|
|
auto send_cap_end(Connection&) -> void;
|
|
|
|
auto send_cap_req(Connection&, std::string_view) -> void;
|
2023-11-26 19:59:12 -08:00
|
|
|
auto send_privmsg(Connection&, std::string_view, std::string_view) -> void;
|
|
|
|
auto send_notice(Connection&, std::string_view, std::string_view) -> void;
|