Telnet++
A C++ library for interacting with Telnet streams
Public Member Functions | List of all members
telnetpp::negotiation Class Reference

A class that encapsulates a Telnet negotiation. More...

#include <negotiation.hpp>

Public Member Functions

constexpr negotiation (u8 request, u8 option)
 Constructor.
 
constexpr u8 request () const
 Returns the request (will, wont, do, dont) of this negotiation. More...
 
constexpr u8 option () const
 Returns the option (e.g. echo, naws) of this negotiation.
 

Detailed Description

A class that encapsulates a Telnet negotiation.

Member Function Documentation

constexpr u8 telnetpp::negotiation::request ( ) const
inline

Returns the request (will, wont, do, dont) of this negotiation.


The documentation for this class was generated from the following file: