Comments (2)
Hello, it is not yet possible, I will add the functionality when I have time. Anyway I tried to connect like this and it seems to be working anyway:
val client = MQTTClient(
MQTTVersion.MQTT5,
"broker.emqx.io",
8083,
null,
15,
webSocket = true
) {
println(it.payload?.toByteArray()?.decodeToString())
}
from kmqtt.
Added in 87b2033. Will be available in the next release
from kmqtt.
Related Issues (20)
- Error in recv: 9 on disconnect() HOT 12
- java.nio.BufferOverflowException when calling HOT 6
- Provide the Client ID inside MQTTDisconnect HOT 2
- Expose the list of the connected client IDs HOT 5
- Delay in receiving published messages HOT 5
- TLSClientSettings from String instead of file path HOT 6
- Socket connection error on windows native HOT 1
- Delay in Publishing message HOT 2
- Can the broker host address be changed HOT 3
- new feature: [MQTTClient] add the timeout connection in parameters HOT 8
- Feature request: Use cklib to package openssl klibs HOT 1
- kmqtt-broker - Error on TLS javax.net.ssl.SSLException : Unable to parse TLS packet header HOT 4
- Ability to subscribe after broker connected HOT 2
- KMQTT Broker: Any way to know if the broker has been started or stopped adter broker.listen() or broker.stop() gets executed? Something like a listener ?? HOT 4
- Auto reconnect HOT 1
- Support for insecure connections HOT 1
- Bug in ConnectFlags.connectFlags(byte: Int) HOT 2
- KMQTT Broker - Provide a method to add SecretKeyFactory algorithm to decrypt the PKCS12 file if device doesn't have it by default.
- KMQTT Broker - Port is not released when Broker fails to initialise in TLS mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kmqtt.