Class: Mysql::Protocol::TlsAuthenticationPacket
- Inherits:
-
Object
- Object
- Mysql::Protocol::TlsAuthenticationPacket
- Defined in:
- lib/mysql/protocol.rb
Overview
TLS Authentication packet
Class Method Summary collapse
Class Method Details
.serialize(client_flags, max_packet_size, charset_number) ⇒ Object
806 807 808 809 810 811 812 813 |
# File 'lib/mysql/protocol.rb', line 806 def self.serialize(client_flags, max_packet_size, charset_number) [ client_flags, max_packet_size, charset_number, "", # always 0x00 * 23 ].pack("VVCa23") end |