Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zfoo-project/zfoo-sdk-typescript-javascript-cocos-web-h5
zfoo sdk of typescript and javascript for coscos and web
https://github.com/zfoo-project/zfoo-sdk-typescript-javascript-cocos-web-h5
cocos h5 javascript sdk typescript web zfoo
Last synced: 10 days ago
JSON representation
zfoo sdk of typescript and javascript for coscos and web
- Host: GitHub
- URL: https://github.com/zfoo-project/zfoo-sdk-typescript-javascript-cocos-web-h5
- Owner: zfoo-project
- Created: 2023-10-25T06:14:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T08:28:46.000Z (about 1 year ago)
- Last Synced: 2023-12-14T04:35:35.882Z (about 1 year ago)
- Topics: cocos, h5, javascript, sdk, typescript, web, zfoo
- Language: TypeScript
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zfoo sdk typescript javascript cocos web h5
zfoo sdk of typescript and javascript for coscos and web
```
support TypeScript in websupport JavaScript in web
support TypeScript in Cocos
```# Start Server
- start websocket server in [WebsocketServerTest](https://github.com/zfoo-project/zfoo/blob/main/net/src/test/java/com/zfoo/net/core/websocket/server/WebsocketServerTest.java)
# Start Client
- ask and await usage
```
var response: WebsocketHelloResponse = await asyncAsk(request);
```- send packet
```
send(request)
```- install
```
nodejsIf you are running it in idea, you need to install the plug-in first, Run Configuration for TypeScript
The test environment of nodejs needs to modify the ByteBuffer to use the util.Text Encoder of nodejs
```