adding correct port

This commit is contained in:
Matthias Wessendorf 2018-11-29 10:38:07 +01:00 committed by GitHub
parent ce597a93fa
commit 01d9efec1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class Server extends AbstractVerticle {
Below is a sample on how to use the client to send a CloudEvent:
```java
final HttpClientRequest request = vertx.createHttpClient().post(7890, "localhost", "/");
final HttpClientRequest request = vertx.createHttpClient().post(8080, "localhost", "/");
CeVertx.writeToHttpClientRequest(cloudEvent, request);
request.handler(resp -> {