Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
HubProxy
Interface HubProxy
Index
Call signatures
Properties
connection
hubName
state
Methods
hasSubscriptions
init
invoke
off
on
Call signatures
(
connection
:
HubConnection
, hubName
:
string
)
:
HubProxy
Parameters
connection:
HubConnection
hubName:
string
Returns
HubProxy
Properties
public
connection
:
HubConnection
public
hubName
:
string
public
state
:
any
Methods
public
hasSubscriptions
(
)
:
boolean
Returns
boolean
public
init
(
connection
:
HubConnection
, hubName
:
string
)
Parameters
connection:
HubConnection
hubName:
string
public
invoke
(
methodName
:
string
, args
?:
Array<any>
)
:
JQueryDeferred
Parameters
methodName:
string
args?:
Array<any>
optional
Returns
JQueryDeferred
public
off
(
eventName
:
string
, callback
:
(msg: any) => void
)
:
HubProxy
Parameters
eventName:
string
callback:
(msg: any) => void
Returns
HubProxy
public
on
(
eventName
:
string
, callback
:
(...msg: any[]) => void
)
:
HubProxy
Parameters
eventName:
string
callback:
(...msg: any[]) => void
Returns
HubProxy
Globals
jquery