23 lines
631 B
Markdown
23 lines
631 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Connection](./puppeteer.connection.md) > [(constructor)](./puppeteer.connection._constructor_.md)
|
||
|
|
||
|
## Connection.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `Connection` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(url: string, transport: ConnectionTransport, delay?: number);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| url | string | |
|
||
|
| transport | [ConnectionTransport](./puppeteer.connectiontransport.md) | |
|
||
|
| delay | number | |
|
||
|
|