0.0.4 • Published 1 year ago
capacitor-plugin-socket v0.0.4
capacitor-plugin-socket
capacitor-plugin-socket
Install
npm install capacitor-plugin-socket
npx cap sync
API
connect(...)
connect(options: { ip: string; port: number; }) => Promise<void>
Param | Type |
---|---|
options | { ip: string; port: number; } |
send(...)
send(options: { data: string; }) => Promise<void>
Param | Type |
---|---|
options | { data: string; } |
disconnect()
disconnect() => Promise<void>