pomelo php client

Author Avatar
Kanglai Qian 10月 29, 2014
  • 在其它设备中阅读本文章

This is depecrated since pomelo is only supporting libpomelo2 with various bindings. I’ve removed the github repo and you may find the archive here(Download).

PHP client lib for pomelo (hybridconnector). This work is inspired by jzsues’s Java implemention.

Requirements

The implemention is under Swoole for better socket support. Please follow the Installation Instructions. No other third party libraries are needed.

Test under ubuntu 13.10 & Mac OSX 10.9.

Usage

details in test.php

  • connect()
  • onConnect, onError, onKick, onClose
  • request, listen

TODO

Currently this client lib does not support protobuf yet. I’ll finish it when I’m free.