Skip to main content
Version: 3.6.0

Overview

The Optave JavaScript SDK (@optave/client-sdk) is a library designed to facilitate seamless communication between your application and the Optave backend services via WebSockets and RESTful APIs. It provides a structured way to authenticate, manage sessions, handle user interactions, and send various types of messages with ease.

Key Features:

  • Event-Driven Architecture: Leveraging Node.js's EventEmitter to handle asynchronous events;
  • Authentication Support: Securely authenticate using client credentials;
  • WebSocket Management: Easily establish and manage WebSocket connections;
  • Error handling: Handles different types of errors using a default structure with categories, error codes, and suggestions.