puppeteer/website/versioned_docs/version-10.0.0/puppeteer.connection.md
TASNEEM KOUSHAR 34ff00e2fe
chore(docs): generate site for v10.0.0
* fix: added parts of website

* fix: removed unnecessary lines

* fix: updated contributing.md

* fix: added parts of sidebar

* fix: added all APIs

* fix: added version 10.0.0

Co-authored-by: Jack Franklin <jacktfranklin@chromium.org>
2021-08-09 09:57:14 +01:00

2.0 KiB

Home > puppeteer > Connection

Connection class

Signature:

export declare class Connection extends EventEmitter 

Extends: EventEmitter

Constructors

Constructor Modifiers Description
(constructor)(url, transport, delay) Constructs a new instance of the Connection class

Properties

Property Modifiers Type Description
_callbacks Map<number, ConnectionCallback>
_closed boolean
_delay number
_lastId number
_sessions Map<string, CDPSession>
_transport ConnectionTransport
_url string

Methods

Method Modifiers Description
_onClose()
_onMessage(message)
_rawSend(message)
createSession(targetInfo)
dispose()
fromSession(session) static
send(method, paramArgs)
session(sessionId)
url()