SDK Documentation

Get your free Api Key and start creating real-time experiences for your customers on any platform.

Choose your preferred programming language to get started with OddSockets real-time messaging

JavaScript / TypeScript
Ready
Official JavaScript SDK with full TypeScript support. Includes PubNub compatibility layer for easy migration.
  • Browser + Node.js support
  • PubNub drop-in replacement
  • React/Vue integrations ready
  • Automatic failover handling
Node.js
Ready
Server-side Node.js SDK with CommonJS modules and production-ready features. Perfect for backend services and APIs.
  • CommonJS + JSDoc support
  • Express.js integrations
  • Production deployment ready
  • Docker & Kubernetes support
React Native
Ready
Native mobile SDK for React Native with TypeScript support and React hooks integration. Perfect for iOS and Android apps requiring real-time messaging.
  • iOS/Android + Expo support
  • React hooks integration
  • TypeScript + Metro bundler
  • Mobile-optimized reconnection
Python
Ready
Python SDK with AsyncIO support and Django/Flask integrations. Perfect for backend services and data processing.
  • AsyncIO + sync support
  • Django/Flask integrations
  • Type hints included
  • High-performance messaging
Go
Ready
High-performance Go SDK with goroutines and channels. Ideal for microservices and high-throughput applications.
  • Goroutines and channels
  • Context cancellation
  • Type safety
  • Cloud-native ready
Java
Ready
Enterprise-ready Java SDK with Spring Boot integration. Perfect for large-scale enterprise applications.
  • CompletableFuture async
  • Spring Boot integration
  • Maven Central ready
  • Thread-safe operations
C# / .NET
Ready
Enterprise .NET SDK with async/await, dependency injection, and ASP.NET Core integration. Multi-targeting support.
  • Task-based async/await
  • ASP.NET Core integration
  • Bulk message publishing
  • Strong typing & nullability
Swift
Ready
Native iOS/macOS SDK with async/await, Combine framework, and SwiftUI integration. Perfect for Apple platform apps requiring real-time messaging.
  • Multi-platform (iOS/macOS/tvOS/watchOS)
  • Async/await + Combine framework
  • SwiftUI + ObservableObject
  • Type-safe messaging
Kotlin
Ready
Modern Kotlin SDK with coroutines, Flow, and multiplatform support. Perfect for Android apps and server-side Kotlin applications.
  • Coroutines + Flow integration
  • Multiplatform (JVM/Android)
  • DSL-style configuration
  • Structured concurrency
PHP
Ready
Modern PHP 8.1+ SDK with ReactPHP async support, Laravel/Symfony integration, and Composer packaging. Perfect for web applications and APIs.
  • PHP 8.1+ with modern features
  • ReactPHP async WebSockets
  • Laravel/Symfony integration
  • Composer package ready
Flutter / Dart
Ready
Cross-platform Flutter SDK with BLoC state management, Stream integration, and native mobile optimizations. Perfect for iOS, Android, and web apps.
  • Cross-platform (iOS/Android/Web/Desktop)
  • BLoC pattern + Stream integration
  • Flutter widgets & state management
  • Mobile-optimized reconnection
Rust
Ready
High-performance systems programming SDK with zero-cost abstractions, async/await, and comprehensive error handling. Perfect for performance-critical applications.
  • Zero-cost abstractions
  • Tokio async runtime
  • Compile-time safety
  • WebAssembly ready
C
Ready
Embedded systems and IoT SDK optimized for resource-constrained devices. Features static memory allocation, FreeRTOS integration, and cross-compilation support.
  • Embedded/IoT optimized
  • FreeRTOS & Arduino support
  • Static memory allocation
  • Cross-compilation ready
C++
Ready
Modern C++17 SDK for embedded systems and IoT devices. Features custom allocators, RAII principles, and platform-specific optimizations for Arduino, Raspberry Pi, and FreeRTOS.
  • Modern C++17 with RAII
  • Arduino/ESP32 & Raspberry Pi
  • Custom memory allocators
  • FreeRTOS & embedded ready
Ruby
Ready
Ruby SDK with Rails integration, async support, and Ruby idioms. Perfect for web applications and rapid development with modern Ruby patterns.
  • Rails integration ready
  • Async gem support
  • Ruby blocks & symbols
  • Zeitwerk autoloading
Svelte
Ready
Modern Svelte SDK with reactive stores, SvelteKit integration, and component library. Perfect for building reactive real-time applications with automatic UI updates.
  • Reactive stores & components
  • SvelteKit SSR support
  • Automatic UI updates
  • TypeScript ready
Unity
Ready
Unity game engine SDK with coroutine support, Inspector integration, and cross-platform deployment. Perfect for multiplayer games and interactive applications.
  • Unity coroutines & MonoBehaviour
  • Inspector configuration
  • Cross-platform (PC/Mobile/Console)
  • Main thread marshaling
Unreal Engine
Ready
Unreal Engine SDK with Blueprint integration, async delegates, and cross-platform deployment. Perfect for AAA multiplayer games and interactive experiences.
  • Blueprint & C++ integration
  • Async delegates & subsystems
  • Cross-platform (PC/Console/Mobile)
  • Game thread marshaling
Elixir
Ready
Functional programming SDK with OTP supervision trees, GenServer processes, and Phoenix integration. Perfect for fault-tolerant, distributed real-time systems.
  • OTP supervision trees
  • GenServer & Phoenix integration
  • Fault-tolerant messaging
  • Distributed systems ready