py2neo.client.http – Low-level HTTP client for Neo4j

class py2neo.client.http.HTTP(profile, user_agent, on_bind=None, on_unbind=None, on_release=None)[source]
begin(graph_name, readonly=False, after=None, metadata=None, timeout=None)[source]

Begin a transaction.

Parameters
  • graph_name

  • readonly

  • after

  • metadata

  • timeout

Returns

new Transaction object

Raises

TransactionError – if a new transaction cannot be created

property broken

True if the connection has been broken by the server or network.

property closed

True if the connection has been closed by the client.

supports_multi()[source]

Detect whether or not this connection supports multi-database.

sync(result)[source]

Perform network synchronisation required to make available a given result.