package mysql_protocol

  1. Overview
  2. Docs
type handshake = {
  1. packet_length : int;
  2. packet_number : int;
  3. protocol_version : int;
  4. server_version : string;
  5. thread_id : Stdlib.Int64.t;
  6. scramble_buff_1 : Bitstring.t;
  7. server_capabilities : Mp_capabilities.capabilities list;
  8. server_language : Mp_charset.charset;
  9. server_status : int;
  10. length_scramble : int;
  11. scramble_buff_2 : Bitstring.t;
}
val handshake_to_string : handshake -> string
val handshake_initialisation : Stdlib.in_channel -> 'a -> handshake
OCaml

Innovation. Community. Security.