sfs2x-api-haxe

SmartFoxServer 2X client api for haxe
https://github.com/barisyild/sfs2x-api-haxe

To install, run:

haxelib install sfs2x-api-haxe 0.0.4 

See using Haxelib in Haxelib documentation for more information.

README.md

SmartFoxServer 2X Haxe Client API (Very Experimental)

OpenFL Platforms

PlatformSupport
HTML5WS/WSS
FlashTCP Socket/WS/WSS/BlueBox
Adobe AIRTCP Socket/WS/BlueBox
WindowsTCP Socket/WS/WSS/BlueBox
LinuxUntested
Mac OSUntested
AndroidUntested
iOSUntested

Haxe Platforms

PlatformSupport
PythonTCP Socket/WS/WSS
NekoTCP Socket/WS/WSS
HashLinkTCP Socket/WS/WSS
CPPTCP Socket/WS/WSS
LuaUntested
C#Untested
JavaUntested
PHPFAIL (no thread support!)

Pull requests are welcome

Let me know how it works on other targets.

Pure Haxe translation of the as3 client for the Smartfox server http://www.smartfoxserver.com/

Warning:

BlueBox is not optimized for multi threading, not recommended to use.

UDP Socket Support Dropped! (If you need udp socket feature, please open issue.)

Compression does not work on platforms other than OpenFL.

Currently Working With:

haxe: 4.3.1

haxe-crypto: 0.0.7

colyseus-websocket: 1.0.12


Instructions:

Installation

haxelib git sfs2x-api-haxe https://github.com/barisyild/sfs2x-api-haxe.git

add in your project.xml:

<haxelib name="sfs2x-api-haxe"/>

Then you can use it like the as3 api, check the as3 exemples there: http://docs2x.smartfoxserver.com/ExamplesFlash/introduction

TODO:

  • test app
  • improve typing

Special Thanks

Originally created by Vincent Blanchet

Contributors
barisyild
Version
0.0.4
Published
2 years ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub