puppeteer/website/versioned_docs/version-10.1.0/puppeteer.connectiontransport.md
2021-08-10 11:09:48 +01:00

28 lines
770 B
Markdown

<!-- 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) | |