2022-08-06 14:49:20 +00:00
---
sidebar_label: Connection
---
# Connection class
2022-10-24 14:31:12 +00:00
#### Signature:
2022-08-06 14:49:20 +00:00
```typescript
export declare class Connection extends EventEmitter
```
**Extends:** [EventEmitter ](./puppeteer.eventemitter.md )
## Constructors
2023-03-24 10:22:06 +00:00
| Constructor | Modifiers | Description |
| ---------------------------------------------------------------------------------------- | --------- | -------------------------------------------------------------- |
| [(constructor)(url, transport, delay, timeout) ](./puppeteer.connection._constructor_.md ) | | Constructs a new instance of the < code > Connection</ code > class |
## Properties
2023-03-29 11:22:11 +00:00
| Property | Modifiers | Type | Description |
| -------- | --------------------- | ------ | ----------- |
| timeout | < code > readonly< / code > | number | |
2022-08-06 14:49:20 +00:00
## Methods
| Method | Modifiers | Description |
| -------------------------------------------------------------------- | ------------------- | ----------- |
| [createSession(targetInfo) ](./puppeteer.connection.createsession.md ) | | |
| [dispose() ](./puppeteer.connection.dispose.md ) | | |
| [fromSession(session) ](./puppeteer.connection.fromsession.md ) | < code > static</ code > | |
| [send(method, paramArgs) ](./puppeteer.connection.send.md ) | | |
| [session(sessionId) ](./puppeteer.connection.session.md ) | | |
| [url() ](./puppeteer.connection.url.md ) | | |