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

28 lines
770 B
Markdown
Raw Normal View History

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