Hierarchy

  • ClientSDK
    • OpaApiClient

Constructors

Properties

options$: SDKOptions & {
    hooks?: SDKHooks;
}

Methods

  • Verify the server is operational

    Parameters

    • Optionalbundles: boolean
    • Optionalplugins: boolean
    • OptionalexcludePlugin: string[]
    • Optionaloptions: RequestOptions

    Returns Promise<HealthResponse>

    The health API endpoint executes a simple built-in policy query to verify that the server is operational. Optionally it can account for bundle activation as well (useful for “ready” checks at startup).