mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-04-06 08:51:24 +00:00
Deprecate HTTP client request connection handler #3212 - closes
This commit is contained in:
@@ -214,8 +214,8 @@ public class HTTP2Examples {
|
||||
HttpConnection connection = request.connection();
|
||||
}
|
||||
|
||||
public void example19(HttpClientRequest request) {
|
||||
request.connectionHandler(connection -> {
|
||||
public void example19(HttpClient client) {
|
||||
client.connectionHandler(connection -> {
|
||||
System.out.println("Connected to the server");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user