zhong-j-yu / bayou

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

Home Page:http://bayou.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

http://bayou.io

License:Other


Languages

Language:Java 100.0%