public class SSEClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SSEClient.StatusMessage |
| Constructor and Description |
|---|
SSEClient(Function<RawEvent,Void> eventCallback,
Function<SSEClient.StatusMessage,Void> statusCallback,
org.apache.hc.client5.http.impl.classic.CloseableHttpClient client,
TelemetryRuntimeProducer telemetryRuntimeProducer) |
public SSEClient(Function<RawEvent,Void> eventCallback, Function<SSEClient.StatusMessage,Void> statusCallback, org.apache.hc.client5.http.impl.classic.CloseableHttpClient client, TelemetryRuntimeProducer telemetryRuntimeProducer)
public boolean open(URI uri)
public boolean isOpen()
public void close()
Copyright © 2021. All rights reserved.