neoxygen / neo4j-neoclient

Simple PHP HttpClient for the Neo4j ReST API with Multi DB Support
MIT License
121 stars 138 forks source link

http header and http query string for master/slave distinction #27

Closed ikwattro closed 9 years ago

ikwattro commented 9 years ago

The goal is to provide two new ways, configurable, for the master/slave query type distinction :

  1. Ability to provide a http header name and value to be used, like Query-Type: WRITE
  2. Same but with http query strings like ?query_type=write

This would be super handful when using HA Proxy on top of the cluster

ikwattro commented 9 years ago

Ping and adding fair dispatch in case of no-proxy

ikwattro commented 9 years ago

Fixed by last tag 3.1.1