mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-21 08:51:24 +00:00
Doc adjustment
This commit is contained in:
@@ -803,13 +803,4 @@ public class HTTPExamples {
|
||||
client.getNow(443, "www.example.com", "/somepath", resp -> {
|
||||
});
|
||||
}
|
||||
|
||||
public void sniHost(HttpClient client) {
|
||||
// Use an HTTP proxy
|
||||
HttpClientRequest request = client.get(443, "the.proxy", "/somepath", resp -> {
|
||||
});
|
||||
|
||||
// Set the host header and the server name to www.example.com server and connect
|
||||
request.setHost("www.example.com").end();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user