Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socket_protobuf

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket_protobuf

socket发送protobuf二进制流的SDK

  • 1.3.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

socket_protobuf

English:

Under the nodejs running environment, this SDK is used for socket sends the protobuf binary stream.
The open source code has an example, you can download the code to see how to use.
author email:597785841@qq.com
example:
socket server backend:

Server.ts const server1:ServerListener = new ServerListener( 4001 ); server1.startServer( onConnectClient, onDisconnectClient );

socket server backend Handler example, LoginHandler.ts : export class LoginHandler extends Handler

socket client frontend:

UserClient.ts const userClient:Client = new Client({ ip:"127.0.0.1", port:4001, time:3 } ); userClient.startConnect( onServerInfo, null, onConnected );

socket client frontend Handler example, LoginSuccessHandler.ts : export class LoginSuccessHandler extends Handler

中文:

在nodejs运行环境下,socket发送protobuf二进制流的SDK。
源码有例子,可以下载源码查看使用方法。
作者邮箱:597785841@qq.com
由于github源码无法访问,中国大陆源码地址如下:
https://e.coding.net/wujinhong/open_source/socket_protobuf.git

Keywords

FAQs

Package last updated on 24 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc