MySQL 8.4.0
Source Code Documentation
|
#include <classic_protocol_message.h>
Public Types | |
using | string_type = std::conditional_t< Borrowed, std::string_view, std::string > |
Public Member Functions | |
constexpr | Greeting (classic_protocol::capabilities::value_type capabilities, uint32_t max_packet_size, uint8_t collation, string_type username, string_type auth_method_data, string_type schema, string_type auth_method_name, string_type attributes) |
construct a client::Greeting message. More... | |
constexpr classic_protocol::capabilities::value_type | capabilities () const |
constexpr void | capabilities (classic_protocol::capabilities::value_type caps) |
constexpr uint32_t | max_packet_size () const noexcept |
constexpr void | max_packet_size (uint32_t sz) noexcept |
constexpr uint8_t | collation () const noexcept |
constexpr void | collation (uint8_t coll) noexcept |
constexpr string_type | username () const |
constexpr void | username (const string_type &v) |
constexpr string_type | auth_method_data () const |
constexpr void | auth_method_data (const string_type &v) |
constexpr string_type | schema () const |
constexpr void | schema (const string_type &schema) |
constexpr string_type | auth_method_name () const |
name of the auth-method that was explicitly set. More... | |
constexpr void | auth_method_name (const string_type &name) |
constexpr string_type | attributes () const |
constexpr void | attributes (const string_type &attrs) |
using classic_protocol::borrowable::message::client::Greeting< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string> |
|
inlineconstexpr |
construct a client::Greeting message.
capabilities | protocol capabilities of the client |
max_packet_size | max size of the frame::Frame client wants to send |
collation | initial collation of connection |
username | username to authenticate as |
auth_method_data | auth-method specific data like hashed password |
schema | initial schema of the newly authenticated session |
auth_method_name | auth-method the data is for |
attributes | session-attributes |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
name of the auth-method that was explicitly set.
use classic_protocol::AuthMethod() to get the effective auth-method which may be announced though capability flags (like if capabilities::plugin_auth wasn't set)
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |