Class: Neo4j::Driver::Bolt::Protocol::V51

Inherits:
V5 show all
Defined in:
lib/neo4j/driver/bolt/protocol/v51.rb

Overview

Bolt 5.1. HELLO no longer carries auth — a separate LOGON (signature 0x6A) follows immediately. This also unlocks re-authentication on a live connection (LOGOFF + LOGON), which the public driver doesn't expose yet but the protocol supports from here on.

Direct Known Subclasses

V52

Instance Attribute Summary

Attributes inherited from Base

#connection, #version

Instance Method Summary collapse

Methods inherited from V5

#configure_packer, #patch_bolt_extra

Methods inherited from V44

#build_route, #supports_impersonation?

Methods inherited from V43

#patch_bolt_extra

Methods inherited from V4

#build_route, #supports_multiple_databases?

Methods inherited from Base

#build_begin, #build_discard, #build_hello_message, #build_pull, #build_run, #build_telemetry, #configure_packer, #customize_hydration, #enforce_impersonation_support!, #initialize, #notification_config_extra, #pack_uuid, #supports_impersonation?, #supports_multiple_databases?, #supports_notification_filtering?, #supports_telemetry?, #unpack_uuid

Constructor Details

This class inherits a constructor from Neo4j::Driver::Bolt::Protocol::Base

Instance Method Details

#build_logon_message(auth) ⇒ Object



17
# File 'lib/neo4j/driver/bolt/protocol/v51.rb', line 17

def build_logon_message(auth) = Message.logon(auth)

#hello_extra(user_agent:, auth:, routing:) ⇒ Object



13
14
15
# File 'lib/neo4j/driver/bolt/protocol/v51.rb', line 13

def hello_extra(user_agent:, auth:, routing:)
  { user_agent:, routing: }
end

#supports_re_auth?Boolean

Returns:

  • (Boolean)


19
# File 'lib/neo4j/driver/bolt/protocol/v51.rb', line 19

def supports_re_auth? = true