puppeteer/website/versioned_docs/version-10.1.0/puppeteer.connectiontransport.md

28 lines
770 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ConnectionTransport](./puppeteer.connectiontransport.md)
## ConnectionTransport interface
<b>Signature:</b>
```typescript
export interface ConnectionTransport
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [onclose?](./puppeteer.connectiontransport.onclose.md) | () =&gt; void | <i>(Optional)</i> |
| [onmessage?](./puppeteer.connectiontransport.onmessage.md) | (message: string) =&gt; void | <i>(Optional)</i> |
## Methods
| Method | Description |
| --- | --- |
| [close()](./puppeteer.connectiontransport.close.md) | |
| [send(string)](./puppeteer.connectiontransport.send.md) | |