diff --git a/README.md b/README.md index e6f93f0e..8677dc44 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,35 @@ TODO add GIF how events processed ### Examples +#### Configure Connection Manager + +```java + ClientConfig clientConfig = new ClientConfig.Builder(${USERNAME}, + ${PASSWORD}).build(); + ConnectionManager connectionManager = new ConnectionManager.Builder(clientConfig).build(); +``` + #### GET Events +```java + new EventsClientRest(connectionManager).getEvents(new EventsRequest.Builder().build(), + new StreamObserver() { + public void onNext(Event event) { + // add our business logic + } + public void onCompleted() { + } + public void onError(E e) { + // handle error + } + }); +``` +#### SUBMIT Offer -#### SUBMIT an Offer +```java +``` ## License -------