CallR.JS
1.1.3
dotnet add package CallR.JS --version 1.1.3
NuGet\Install-Package CallR.JS -Version 1.1.3
<PackageReference Include="CallR.JS" Version="1.1.3" />
paket add CallR.JS --version 1.1.3
#r "nuget: CallR.JS, 1.1.3"
// Install CallR.JS as a Cake Addin #addin nuget:?package=CallR.JS&version=1.1.3 // Install CallR.JS as a Cake Tool #tool nuget:?package=CallR.JS&version=1.1.3
JavaScript files for the CallR library.
Visit https://github.com/tejacques/callr for an overview and usage examples.
Learn more about Target Frameworks and .NET Standard.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CallR.JS:
Package | Downloads |
---|---|
CallR
Binaries for the CallR library. Visit https://github.com/tejacques/callr for an overview and usage examples. |
|
CallR.Angular
JavaScript files for the CallR.Angular library. Visit https://github.com/tejacques/callr for an overview and usage examples. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Notes:
Version 1.1.3:
- Add configuration via hubModule.configure(conf) for default connection url and default connection options.
Version 1.1.2:
- Add #8: smartDisconnect is now a configurable feature that is off by default.
Version 1.1.1:
- Fix #2: Request queue no longer has a race condition on flushing requests which could prevent sending requests.
- Fix #4: Fix a race condition causes flushing request queue to fail in cases where multiple commands are sent at the same time.
Version 1.1.0:
- hub.rpc is now a function which can take parameters, removing the need to make hub proxies
- optional last parameter to hub calls for filtering response
Version 1.0.5:
- Remove client side hub call verification (nonbreaking change)
Version 1.0.4:
- Fix bug on reusing hubs
Version 1.0.3:
- Correctly add $.connection[hubName] when creating proxy manually
Version 1.0.2:
- Update dependencies
Version 1.0.1:
- Fix JSHint warning
Version 1.0.0:
- HubModule.init(hubName): create a singleton hub with the given name or enhance a hub created by SignalR's autogenerated proxies.
- hub.connect(): same as hub.start
- hub.disconnect(async, notifyServer): same as hub.stop
- hub.bindEvent(eventName, callback): same as hub.on
- hub.unbindEvent(eventName, callback): same as hub.off
- hub.rpc: replaces hub.server for making calls to the back end. Sends any queued requests along with the current request.
- hub.queue.rpc: same as hub.rpc, but queues up calls to the server rather than immediately requesting them.
- hub.flushRequests(cb): Send all queued requests to the server, then execute the callback once all requests has been completed. Will open a connection if necessary, and close the connection afterwards if it was closed when the flush began.
- hub.addRPC(name, nameOnServer[, argumentNames, ...]): Creates a new rpc call with the provided name, name of the function on the server, and the names of the arguments. Calls to that function will verify that the number of arguments match.