MySQL 8.3.0
Source Code Documentation
classic_protocol::borrowable::message::client::SendFile< Borrowed > Class Template Reference

#include <classic_protocol_message.h>

Public Types

using string_type = std::conditional_t< Borrowed, std::string_view, std::string >
 

Public Member Functions

constexpr SendFile (string_type payload)
 construct a SendFile message. More...
 
constexpr string_type payload () const
 

Private Attributes

string_type payload_
 

Member Typedef Documentation

◆ string_type

template<bool Borrowed>
using classic_protocol::borrowable::message::client::SendFile< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string>

Constructor & Destructor Documentation

◆ SendFile()

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::client::SendFile< Borrowed >::SendFile ( string_type  payload)
inlineconstexpr

construct a SendFile message.

Parameters
payloadpayload

Member Function Documentation

◆ payload()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::client::SendFile< Borrowed >::payload ( ) const
inlineconstexpr

Member Data Documentation

◆ payload_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::client::SendFile< Borrowed >::payload_
private

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