Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
SignalR
Interface SignalR
Hierarchy
SignalR
HubConnection
Index
Call signatures
Properties
connectionState
events
hub
id
logging
messageId
qs
transports
url
Methods
changeState
connectionSlow
disconnected
error
hubConnection
isCrossDomain
isDisconnecting
log
received
reconnected
reconnecting
send
sending
start
starting
stateChanged
stop
Call signatures
(
url
:
string
, queryString
?:
any
, logging
?:
boolean
)
:
SignalR
Parameters
url:
string
queryString?:
any
optional
logging?:
boolean
optional
Returns
SignalR
Properties
public
connectionState
:
any
public
events
:
SignalREvents
public
hub
:
HubConnection
public
id
:
string
public
logging
:
boolean
public
messageId
:
string
public
qs
:
any
public
transports
:
any
public
url
:
string
Methods
public
changeState
(
connection
:
SignalR
, expectedState
:
number
, newState
:
number
)
:
boolean
Parameters
connection:
SignalR
expectedState:
number
newState:
number
Returns
boolean
public
connectionSlow
(
handler
:
() => void
)
:
SignalR
Parameters
handler:
() => void
Returns
SignalR
public
disconnected
(
handler
:
() => void
)
:
SignalR
Parameters
handler:
() => void
Returns
SignalR
public
error
(
handler
:
(error: string) => void
)
:
SignalR
Parameters
handler:
(error: string) => void
Returns
SignalR
public
hubConnection
(
url
?:
string
)
:
SignalR
Parameters
url?:
string
optional
Returns
SignalR
public
isCrossDomain
(
url
:
string
)
:
boolean
Parameters
url:
string
Returns
boolean
public
isDisconnecting
(
connection
:
SignalR
)
:
boolean
Parameters
connection:
SignalR
Returns
boolean
public
log
(
msg
:
string
, logging
:
boolean
)
Parameters
msg:
string
logging:
boolean
public
received
(
handler
:
(data: any) => void
)
:
SignalR
Parameters
handler:
(data: any) => void
Returns
SignalR
public
reconnected
(
handler
:
() => void
)
:
SignalR
Parameters
handler:
() => void
Returns
SignalR
public
reconnecting
(
handler
:
() => void
)
:
SignalR
Parameters
handler:
() => void
Returns
SignalR
public
send
(
data
:
string
)
Parameters
data:
string
public
sending
(
handler
:
() => void
)
:
SignalR
Parameters
handler:
() => void
Returns
SignalR
public
start
(
)
:
JQueryPromise
Returns
JQueryPromise
public
start
(
callback
:
() => void
)
:
JQueryPromise
Parameters
callback:
() => void
Returns
JQueryPromise
public
start
(
settings
:
ConnectionSettings
)
:
JQueryPromise
Parameters
settings:
ConnectionSettings
Returns
JQueryPromise
public
start
(
settings
:
ConnectionSettings
, callback
:
() => void
)
:
JQueryPromise
Parameters
settings:
ConnectionSettings
callback:
() => void
Returns
JQueryPromise
public
starting
(
handler
:
() => void
)
:
SignalR
Parameters
handler:
() => void
Returns
SignalR
public
stateChanged
(
handler
:
(change: SignalRStateChange) => void
)
:
SignalR
Parameters
handler:
(change: SignalRStateChange) => void
Returns
SignalR
public
stop
(
async
?:
boolean
, notifyServer
?:
boolean
)
Parameters
async?:
boolean
optional
notifyServer?:
boolean
optional
Globals
jquery