Skip to main content

Create a client

Create one client per server process and reuse it. An empty key throws TypeError.

Options

Members

Retry behavior

The SDK reads Retry-After as seconds or an HTTP date. A rate-limit wait longer than maxRetryDelayMs returns rate_limited to you instead of waiting. Responses are never cached. Each request sends your key in X-API-Key and the SDK version in X-Cybr-SDK.

Request options

Every network method accepts { signal } to cancel it. Most take it as the final argument. labs.get takes it beside learnerId. See cancellation.

Entry points

The browser entry points contain no server code and no keys.

Package version