MilesChan / easypush

tranplant icomet push server for windows c / c++ / vc developers ( visual studio 2012 ), uses libevent 2.1.4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easypush
========

this is a tranplant project of icomet, which you can find at " https://github.com/ideawu/icomet ".


I wish this can be easy for vc developer on Windows platforms to get started with icomet.


faq:


1. start easypush server

./easypush_server.exe icomet.conf

explain:

please copy icomet.conf to the directory where easypush_server.exe is

2. subscribe a channel

by curl:

curl -v " http://127.0.0.1:8100/sub?cname=12 "

by browser:

http://127.0.0.1:8100/sub?cname=12

explain:

cname : channel name

3. publish a push message for a channel

by curl:

curl -v " http://127.0.0.1:8000/push?cname=12&content=hi "

by browser:

http://127.0.0.1:8000/push?cname=12&content=hi

explain:

content : the message content to push(the message that you want your subscribers to receive)

4. finally

finally, best reagrds to developers of icomet




About

tranplant icomet push server for windows c / c++ / vc developers ( visual studio 2012 ), uses libevent 2.1.4

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 93.1%Language:C++ 6.9%Language:Objective-C 0.1%