Sunbot HTTP Client

A client that sends messages to Suneidesis HTTP Server (compatible with Android and Java)

License

License

Categories

Categories

IDE Development Tools CLI User Interface
GroupId

GroupId

com.harium.suneidesis.sunbot
ArtifactId

ArtifactId

http-client
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

Sunbot HTTP Client
A client that sends messages to Suneidesis HTTP Server (compatible with Android and Java)

Download http-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.harium.suneidesis.sunbot/http-client/ -->
<dependency>
    <groupId>com.harium.suneidesis.sunbot</groupId>
    <artifactId>http-client</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.harium.suneidesis.sunbot/http-client/
implementation 'com.harium.suneidesis.sunbot:http-client:0.4.0'
// https://jarcasting.com/artifacts/com.harium.suneidesis.sunbot/http-client/
implementation ("com.harium.suneidesis.sunbot:http-client:0.4.0")
'com.harium.suneidesis.sunbot:http-client:jar:0.4.0'
<dependency org="com.harium.suneidesis.sunbot" name="http-client" rev="0.4.0">
  <artifact name="http-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.harium.suneidesis.sunbot', module='http-client', version='0.4.0')
)
libraryDependencies += "com.harium.suneidesis.sunbot" % "http-client" % "0.4.0"
[com.harium.suneidesis.sunbot/http-client "0.4.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.squareup.okhttp3 : okhttp jar 4.9.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.13.1
org.skyscreamer : jsonassert jar 1.5.0

Project Modules

There are no modules declared in this project.

sunbot-http-client

Client that send messages to Sunbot HTTP Server (compatible with Android and Java)

Maven Central

How to use it

    SunbotHttpClient client = new SunbotHttpClient();
    client.sendMessage("http://localhost:11883", "Hello World!");

This library uses OkHttp to send post messages.

com.harium.suneidesis.sunbot

Harium

Versions

Version
0.4.0
0.3.0