Check out new features in Diffusion 6.2.7
- New update API
- Improved compression
- New fetch API
Read What's New in the Manual for more details.
Version 6.2.7
Requires JDK 8 (1.8.0_131 or higher) or Java 11 JDK (11.0.3 GA or higher, Hotspot JVM)
Read What's New in the Manual for more details.
Version 6.2.7
Requires JDK 8 (1.8.0_131 or higher) or Java 11 JDK (11.0.3 GA or higher, Hotspot JVM)
By downloading any of these SDKs you agree to abide by our Terms and Conditions.
<script src="https://download.diffusiondata.com/clients/6.2.7/js/diffusion-6.2.7.js">
Install with npm.
npm install diffusion
Include in your Node.js application.
var diffusion = require('diffusion');
If you got the client library using npm, the TypeScript definition file is included.
You can also download the TypeScript file from the following URL:
Include the TypeScript definition file in your IDE project to use the TypeScript definitions when developing for a client.
To enable optional zlib message compression in browser applications, you can either:
If you are using Node.js, you don't need to do anything to enable compression. Node.js provides zlib as a standard module.
https://download.diffusiondata.com/clients/6.2.7/js/diffusion-core-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-core-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-client-control-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-messages-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-topic-control-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-topic-update-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-topic-notifications-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-time-series-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-security-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-session-lock-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-remote-servers-6.2.7.js https://download.diffusiondata.com/clients/6.2.7/js/modular/diffusion-feature-topic-views-6.2.7.js
See the API documentation for how to dynamically load modules.
apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { multiDexEnabled true applicationId "com.pushtechnology.android.example" minSdkVersion 19 targetSdkVersion 27 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } repositories { maven { url "https://download.diffusiondata.com/maven/" } } dependencies { coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.9' implementation 'org.slf4j:slf4j-api:1.7.21' implementation 'com.pushtechnology.diffusion:diffusion-android-client:6.2.7' }
Add the DiffusionData public repository to your pom.xml file
<repositories> <repository> <id>push-repository</id> <url>https://download.diffusiondata.com/maven/</url> </repository> </repositories>
Declare the following dependency in your pom.xml file
<dependency> <groupId>com.pushtechnology.diffusion</groupId> <artifactId>diffusion-client</artifactId> <version>6.2.7</version> </dependency>
Add the DiffusionData public repository to your build.gradle file
repositories { maven { url "https://download.diffusiondata.com/maven/" } }
Declare the following dependency in your build.gradle file
compile 'com.pushtechnology.diffusion:diffusion-client:6.2.7'
dotnet add package Diffusion.Client
$ pip install diffusion==6.2.7