public class HttpConnectionFuture extends SignalRFuture<Void>
| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpConnectionFuture.ResponseCallback
Represents the callback to invoke when a response is returned after a
request
|
| Constructor and Description |
|---|
HttpConnectionFuture() |
| Modifier and Type | Method and Description |
|---|---|
void |
onTimeout(ErrorCallback errorCallback)
Handles the timeout for an Http operation
|
void |
triggerTimeout(Throwable error)
Triggers the timeout error
|
cancel, cancel, done, errorWasTriggered, get, get, isCancelled, isDone, onCancelled, onError, setResult, triggerErrorpublic void onTimeout(ErrorCallback errorCallback)
errorCallback - The handlerpublic void triggerTimeout(Throwable error)
error - The errorCopyright © 2019. All rights reserved.