Skip to content

Structure

MySQLProtocol.SSLRequest

Protocol::SSLRequest:
struct SSLRequest

Overview

SSL Connection Request Packet. It is like Handshake Response Packet but is truncated right before username field. If server supports CLIENT_SSL capability, client can send this packet to request a secure SSL connection. The CLIENT_SSL capability flag must be set inside the SSL Connection Request Packet.

https://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::SSLRequest

Topics

Initializers

Instance Properties

  • capabilities
    capability_flags (4) capability flags of the client as defined in Protocol::CapabilityFlags CLIENT_SSL always set
  • characterSet
    character_set (1) connection’s default character set as defined in Protocol::CharacterSet.
  • maxPacketSize
    max_packet_size (4) max size of a command packet that the client wants to send to the server

Instance Methods

Relationships

Conforms To