Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mustafabinguldev/sockethttpresponse
This project is a very lightweight webserver
https://github.com/mustafabinguldev/sockethttpresponse
java socket-programming web-socket webserver
Last synced: about 1 month ago
JSON representation
This project is a very lightweight webserver
- Host: GitHub
- URL: https://github.com/mustafabinguldev/sockethttpresponse
- Owner: mustafabinguldev
- License: mit
- Created: 2023-10-04T13:29:51.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-26T07:07:03.000Z (about 1 year ago)
- Last Synced: 2024-01-24T12:08:03.552Z (11 months ago)
- Topics: java, socket-programming, web-socket, webserver
- Language: Java
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
This project is a very lightweight webserver
Example:
```//Port and Max Thread(pool)
WebServer webServer = new WebServer(8080, 4);
webServer.addListener(responseManager -> {responseManager.addHttpData("
Hello World!
");
responseManager.addHttpData("Colored Txt>");
responseManager.addHttpData("This project is a very lightweight webserver
");
responseManager.addHttpData("Your ip adress:"+responseManager.getRequestAdress()+">");
// responseManager.setCancelled(true);
});webServer.start();
``````
jitpack.io
https://jitpack.io
com.github.BingulHan
SocketHttpResponse
0.1
```
Soon to be added (Coming soon):
- Sending different pages with root
- Sending img etc files
- Send Javascript
- Restful service publishing
- Send JSON
- Mini IOC ContainerI am doing this project to better understand the working logic of other frameworks and to develop more in this field by engineering from scratch.