Search in sources :

Example 1 with ClientAsync

use of org.webpieces.throughput.client.ClientAsync in project webpieces by deanhiller.

the class ThroughputEngine method runAsyncClient.

private void runAsyncClient(InetSocketAddress svrAddress, Protocol protocol, Clients creator) {
    Http2Client client = creator.createClient();
    ClientAsync async = new ClientAsync(client, config, protocol);
    async.runAsyncClient(svrAddress);
}
Also used : ClientAsync(org.webpieces.throughput.client.ClientAsync) Http2Client(org.webpieces.http2client.api.Http2Client)

Aggregations

Http2Client (org.webpieces.http2client.api.Http2Client)1 ClientAsync (org.webpieces.throughput.client.ClientAsync)1