Neodriver_eio.HandshakeBolt handshake (protocol version negotiation).
Bolt handshake: protocol version negotiation.
See handshake.ml for the implementation.
The 16-byte handshake proposal: manifest-style (0x000001FF), Bolt 5.8-5.0, Bolt 4.4-4.2 and Bolt 3.0.
val negotiate :
Transport.t ->
(int * int, Neodriver_core.Errors.t) Stdlib.resultPerform the handshake over transport: send the magic preamble and proposal, read the server response, and agree on a protocol version. Handles both the v1 reply and the v2 manifest (selecting the highest supported version within the server's offerings).