| Package | Description |
|---|---|
| microsoft.aspnet.signalr.client | |
| microsoft.aspnet.signalr.client.http | |
| microsoft.aspnet.signalr.client.hubs | |
| microsoft.aspnet.signalr.client.transport |
| Modifier and Type | Class and Description |
|---|---|
class |
UpdateableCancellableFuture<V>
An updateable SignalRFuture that, when cancelled, triggers cancellation on an
internal instance
|
| Modifier and Type | Method and Description |
|---|---|
SignalRFuture<V> |
SignalRFuture.done(Action<V> action)
Handles the completion of the Future.
|
SignalRFuture<V> |
SignalRFuture.onError(ErrorCallback errorCallback)
Handles error during the execution of the Future.
|
SignalRFuture<Void> |
Connection.send(Object object)
Sends a serialized object
|
SignalRFuture<Void> |
ConnectionBase.send(String data)
Sends data using the connection
|
SignalRFuture<Void> |
Connection.send(String data) |
SignalRFuture<Void> |
Connection.start(boolean ignoreSsl)
Starts the connection using the best available transport
|
SignalRFuture<Void> |
ConnectionBase.start(ClientTransport transport)
Starts the connection
|
SignalRFuture<Void> |
Connection.start(ClientTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
static void |
FutureHelper.copyHandlers(HttpConnectionFuture sourceFuture,
SignalRFuture<?> targetFuture)
Copy the Cancellation and Error handlers between two SignalRFuture
instances, where the source is an HttpConnectionFuture
|
static void |
FutureHelper.copyHandlers(SignalRFuture<?> sourceFuture,
SignalRFuture<?> targetFuture)
Copy the Cancellation and Error handlers between two SignalRFuture
instances
|
static void |
FutureHelper.copyHandlers(SignalRFuture<?> sourceFuture,
SignalRFuture<?> targetFuture)
Copy the Cancellation and Error handlers between two SignalRFuture
instances
|
void |
UpdateableCancellableFuture.setFuture(SignalRFuture<?> token) |
| Constructor and Description |
|---|
UpdateableCancellableFuture(SignalRFuture<?> token) |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpConnectionFuture
A SinglaRFuture for Http operations
|
| Modifier and Type | Method and Description |
|---|---|
<E> SignalRFuture<E> |
HubProxy.invoke(Class<E> resultClass,
String method,
Object... args)
Invokes a hub method that returns a value
|
<E> SignalRFuture<E> |
HubProxy.invoke(Class<E> resultClass,
Type resultType,
String method,
Object... args)
Overload of 'invoke' hub method that takes a type instead of class for GSON deserialisation
|
SignalRFuture<Void> |
HubProxy.invoke(String method,
Object... args)
Invokes a hub method
|
| Modifier and Type | Field and Description |
|---|---|
protected SignalRFuture<Void> |
HttpClientTransport.mAbortFuture |
| Modifier and Type | Method and Description |
|---|---|
SignalRFuture<Void> |
HttpClientTransport.abort(ConnectionBase connection) |
SignalRFuture<Void> |
ClientTransport.abort(ConnectionBase connection)
Aborts the transport
|
SignalRFuture<Void> |
AutomaticTransport.abort(ConnectionBase connection) |
SignalRFuture<NegotiationResponse> |
HttpClientTransport.negotiate(ConnectionBase connection) |
SignalRFuture<NegotiationResponse> |
ClientTransport.negotiate(ConnectionBase connection)
Begins the negotiation with the server
|
SignalRFuture<Void> |
WebsocketTransport.send(ConnectionBase connection,
String data,
DataResultCallback callback) |
SignalRFuture<Void> |
HttpClientTransport.send(ConnectionBase connection,
String data,
DataResultCallback callback) |
SignalRFuture<Void> |
ClientTransport.send(ConnectionBase connection,
String data,
DataResultCallback callback)
Sends data using the transport
|
SignalRFuture<Void> |
AutomaticTransport.send(ConnectionBase connection,
String data,
DataResultCallback callback) |
SignalRFuture<Void> |
WebsocketTransport.start(ConnectionBase connection,
ConnectionType connectionType,
DataResultCallback callback) |
SignalRFuture<Void> |
ServerSentEventsTransport.start(ConnectionBase connection,
ConnectionType connectionType,
DataResultCallback callback) |
SignalRFuture<Void> |
LongPollingTransport.start(ConnectionBase connection,
ConnectionType connectionType,
DataResultCallback callback) |
SignalRFuture<Void> |
ClientTransport.start(ConnectionBase connection,
ConnectionType connectionType,
DataResultCallback callback)
Starts the transport
|
SignalRFuture<Void> |
AutomaticTransport.start(ConnectionBase connection,
ConnectionType connectionType,
DataResultCallback callback) |
Copyright © 2019. All rights reserved.