SDKs Overview
Official Flipswitch SDKs with real-time SSE support
SDKs
Flipswitch provides official SDKs with real-time SSE support for instant flag updates. These wrap the standard OFREP protocol with automatic cache invalidation when flags change.
Official SDKs
Why Use Official SDKs?
| Feature | Official SDK | Standard OFREP |
|---|---|---|
| Real-time updates (SSE) | Yes | No |
| Automatic cache invalidation | Yes | Manual |
| Reconnection with backoff | Yes | Manual |
| Event handlers | Yes | No |
Using Standard OFREP Providers
If you don't need real-time updates, you can use any standard OpenFeature OFREP provider:
Supported Languages
Any OpenFeature SDK with OFREP support works with Flipswitch:
- JavaScript/TypeScript - Web and server
- Java - Server-side
- Go - Server-side
- .NET - Server and client
- Python - Server-side
- PHP - Server-side
- Ruby - Server-side
See the OpenFeature ecosystem for all available providers.
SDK Configuration
All SDKs share common configuration options:
| Option | Description | Default |
|---|---|---|
apiKey | Environment API key from dashboard | Required |
baseUrl | Flipswitch server URL | https://api.flipswitch.dev |
enableRealtime | Enable SSE for live updates | true |
pollingInterval | Cache TTL in milliseconds | 30000 |