cap-tcp-socket-plugin
v0.0.1
Published
A tcp socket plugin for capacitor
Downloads
4
Readme
cap-tcp-socket-plugin
A tcp socket plugin for capacitor
Install
npm install cap-tcp-socket-plugin
npx cap sync
API
sendAsync(...)
sendAsync(options: { ipAddress: string; port: number; data: number[]; timeoutInSec: number; }) => Promise<{ status: number; message?: string; data?: number[]; }>
| Param | Type |
| ------------- | --------------------------------------------------------------------------------------- |
| options
| { ipAddress: string; port: number; data: number[]; timeoutInSec: number; } |
Returns: Promise<{ status: number; message?: string; data?: number[]; }>