Benchion Sockets Library
An netty based asynchronous socket library for benchion java applications
Report Bug · Request Feature
Contents
📗
About The Project
Benchion Socket Library is an understandable asynchronous java library made to make your netty work easier.
Here's why:
- It is an easy to use library, no need to waste time anymore!
- It is an understandable library.
- It is an asynchronous library.
Built With
In this project, netty was used as socket library, gson was used as json library, lombok was used as code generation library.
🌙
Getting Started
✨
Installation
- Firstly clone this project with Git
git clone https://github.com/Benchion/sockets.git
- Read the documents
- Code, code, code!
⚡
Usage
Creating Server
BenchionSocketServer server = new BenchionSocketServer(8888); // Creates a server
server.build().run(); // Builds and runs the server
Creating Client & Connect a Server
BenchionSocketClient client = new BenchionSocketClient("hostname", 8888); // Creates a client
client.build().connect(); // Builds and connects to server
For more examples, please refer to the Documentation
🔐
License
Distributed under the MIT License. See LICENSE
for more information.