3 #include "telnetpp/core.hpp" 68 std::ostream &operator<<(std::ostream &out,
negotiation const &cmd);
constexpr u8 option() const
Returns the option (e.g. echo, naws) of this negotiation.
Definition: negotiation.hpp:36
constexpr negotiation(u8 request, u8 option)
Constructor.
Definition: negotiation.hpp:18
A class that encapsulates a Telnet negotiation.
Definition: negotiation.hpp:12
constexpr u8 request() const
Returns the request (will, wont, do, dont) of this negotiation.
Definition: negotiation.hpp:28
Definition: byte_converter.hpp:4