Skip to main content

Module client

Module client 

Source
Expand description

The SDK entry point.

Client::connect(endpoint) does not open the WebSocket up front — CDP connections are lazy and cached per Client. The Client holds the parsed endpoint, the optional bearer token, an HTTP client for the /health + /capabilities calls, and one reusable CDP connection.

Structs§

Client
Top-level client. Cheap to clone (everything inside is Arc-shared).