Sunbot HTTP

A plugin to turn your Suneidesis Chatbot into a HTTP Server

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

com.harium.suneidesis
ArtifactId

ArtifactId

sunbot-http
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

Sunbot HTTP
A plugin to turn your Suneidesis Chatbot into a HTTP Server

Download sunbot-http

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
com.harium.suneidesis : core jar 1.4.0
com.harium.marine : core jar 1.1.1
com.fasterxml.jackson.core : jackson-databind jar 2.12.1

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

sunbot-http

Plugin to turn your Suneidesis Chatbot into a HTTP server

Maven Central

How to use it

    Parser bot = new EchoBox(); // Use your own box

    SunbotHttp http = new SunbotHttp();
    http.port(11883);
    http.addBox(bot);
    http.init();

Sending messages

You can use the Sunbot HTTP Client or any other HTTP tool:

Curl

curl -XPOST -d '{"message":"Hello World!"}' localhost:11883
com.harium.suneidesis

Harium

Versions

Version
0.3.0
0.2.0