Telnet++ 4.0.0.9
A C++ library for interacting with Telnet streams
Loading...
Searching...
No Matches
basic_client.hpp
1#pragma once
2
3#include "telnetpp/client_option.hpp"
4
5namespace telnetpp::options {
6
7//* =========================================================================
11//* =========================================================================
12template <option_type Option>
13class TELNETPP_EXPORT basic_client : public telnetpp::client_option
14{
15public:
16 //* =====================================================================
18 //* =====================================================================
19 constexpr explicit basic_client(telnetpp::session &sess) noexcept
20 : client_option(sess, Option)
21 {
22 }
23
24private:
25 //* =====================================================================
28 //* =====================================================================
29 void handle_subnegotiation(telnetpp::bytes /*content*/) override
30 {
31 }
32};
33
34} // namespace telnetpp::options
A class that represents a Telnet option's client side. That is, the side that receives WILL and WONT ...
Definition client_option.hpp:35
A class template that generates basic classes that handle no subnegotiations; they merely exist for e...
Definition basic_client.hpp:14
constexpr basic_client(telnetpp::session &sess) noexcept
Constructor.
Definition basic_client.hpp:19
An abstraction for a Telnet session.
Definition session.hpp:141