SPDYClient.Factory factory = new SPDYClient.Factory(); SPDYClient client = factory.newSPDYClient(SPDY.V3);and then used to connect to the server:
FuturePromise<Session> promise = new FuturePromise<>(); client.connect("server.com", null, promise); Session session = promise.get();
|
|
|
|
|
|
|
|