mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
37 lines
1.7 KiB
Markdown
37 lines
1.7 KiB
Markdown
---
|
|
sidebar_label: Connection
|
|
---
|
|
|
|
# Connection class
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export declare class Connection extends EventEmitter<CDPSessionEvents>
|
|
```
|
|
|
|
**Extends:** [EventEmitter](./puppeteer.eventemitter.md)<[CDPSessionEvents](./puppeteer.cdpsessionevents.md)>
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| -------------------------------------------------------- | --------- | -------------------------------------------------------------- |
|
|
| [(constructor)](./puppeteer.connection._constructor_.md) | | Constructs a new instance of the <code>Connection</code> class |
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
| -------- | --------------------- | ------ | ----------- |
|
|
| timeout | <code>readonly</code> | number | |
|
|
|
|
## Methods
|
|
|
|
| Method | Modifiers | Description |
|
|
| -------------------------------------------------------- | ------------------- | ----------- |
|
|
| [createSession](./puppeteer.connection.createsession.md) | | |
|
|
| [dispose](./puppeteer.connection.dispose.md) | | |
|
|
| [fromSession](./puppeteer.connection.fromsession.md) | <code>static</code> | |
|
|
| [send](./puppeteer.connection.send.md) | | |
|
|
| [session](./puppeteer.connection.session.md) | | |
|
|
| [url](./puppeteer.connection.url.md) | | |
|