Skip to content

Async HTTP server/client - high performance in functional style, full-featured.

License

Notifications You must be signed in to change notification settings

zhong-j-yu/bayou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bayou.io

Async http server & client for Java

For more information, see http://bayou.io

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<HttpResponse> asyncRes = client.doGet( "https://example.com" );

About

Async HTTP server/client - high performance in functional style, full-featured.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages