38 lines
617 B
Markdown
38 lines
617 B
Markdown
|
# capacitor-sockets
|
||
|
|
||
|
Sockets
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```bash
|
||
|
npm install capacitor-sockets
|
||
|
npx cap sync
|
||
|
```
|
||
|
|
||
|
## API
|
||
|
|
||
|
<docgen-index>
|
||
|
|
||
|
* [`echo(...)`](#echo)
|
||
|
|
||
|
</docgen-index>
|
||
|
|
||
|
<docgen-api>
|
||
|
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->
|
||
|
|
||
|
### echo(...)
|
||
|
|
||
|
```typescript
|
||
|
echo(options: { value: string; }) => Promise<{ value: string; }>
|
||
|
```
|
||
|
|
||
|
| Param | Type |
|
||
|
| ------------- | ------------------------------- |
|
||
|
| **`options`** | <code>{ value: string; }</code> |
|
||
|
|
||
|
**Returns:** <code>Promise<{ value: string; }></code>
|
||
|
|
||
|
--------------------
|
||
|
|
||
|
</docgen-api>
|