puppeteer/website/versioned_docs/version-17.1.3/api/puppeteer.connectiontransport.md
release-please[bot] 9b120f6c7b
chore(main): release 17.1.3 (#8921)
* chore(main): release 17.1.3

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-09-08 13:16:39 +00:00

26 lines
981 B
Markdown

---
sidebar_label: ConnectionTransport
---
# ConnectionTransport interface
**Signature:**
```typescript
export interface ConnectionTransport
```
## Properties
| Property | Modifiers | 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(message)](./puppeteer.connectiontransport.send.md) | |