IHubProxy Interface

.NET Framework 4.5

A client side proxy for a server side hub.

Namespace:  Microsoft.AspNet.SignalR.Client.Hubs
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Interface IHubProxy
'Usage
Dim instance As IHubProxy
public interface IHubProxy
public interface class IHubProxy
type IHubProxy =  interface end
public interface IHubProxy

The IHubProxy type exposes the following members.

Properties

  Name Description
Public property Item Gets or sets state on the hub.

Top

Methods

  Name Description
Public method Invoke(String, Object[]) Executes a method on the server side hub asynchronously.
Public method Invoke<T>(String, Object[]) Executes a method on the server side hub asynchronously.
Public method Subscribe Registers an event for the hub.

Top

Extension Methods

  Name Description
Public Extension Method GetValue<T> Gets the value of a state variable. (Defined by HubProxyExtensions.)
Public Extension Method Observe Registers a IHubProxy event as an IObservableT. (Defined by HubProxyExtensions.)
Public Extension Method On(String, Action) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On(String, Action<Object>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T>(String, Action<T>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T1, T2>(String, Action<T1, T2>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T1, T2, T3>(String, Action<T1, T2, T3>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T1, T2, T3, T4>(String, Action<T1, T2, T3, T4>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T1, T2, T3, T4, T5>(String, Action<T1, T2, T3, T4, T5>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T1, T2, T3, T4, T5, T6>(String, Action<T1, T2, T3, T4, T5, T6>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)
Public Extension Method On<T1, T2, T3, T4, T5, T6, T7>(String, Action<T1, T2, T3, T4, T5, T6, T7>) Overloaded. Registers for an event with the specified name and callback. (Defined by HubProxyExtensions.)

Top

See Also

Reference

Microsoft.AspNet.SignalR.Client.Hubs Namespace