https://github.com/zhong-j-yu/bayou
Async HTTP server/client - high performance in functional style, full-featured.
https://github.com/zhong-j-yu/bayou
Last synced: 3 months ago
JSON representation
Async HTTP server/client - high performance in functional style, full-featured.
- Host: GitHub
- URL: https://github.com/zhong-j-yu/bayou
- Owner: zhong-j-yu
- License: other
- Created: 2014-07-07T14:52:14.000Z (about 12 years ago)
- Default Branch: 1.0
- Last Pushed: 2016-02-13T05:51:05.000Z (over 10 years ago)
- Last Synced: 2024-03-16T03:51:11.787Z (over 2 years ago)
- Language: Java
- Homepage: http://bayou.io
- Size: 683 KB
- Stars: 40
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-java - Bayou
README
# bayou.io
Async http server & client for Java
For more information, see
## HttpServer
HttpHandler handler = request -> HttpResponse.text(200, "Hello World");
HttpServer server = new HttpServer(handler);
server.conf().trafficDump(System.out::print);
server.start();
## HttpClient
HttpClient client = new HttpClient();
Async asyncRes = client.doGet( "https://example.com" );