7.0.12 • Published 5 months ago

uniapp-signalr v7.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

JavaScript and TypeScript clients for SignalR for ASP.NET Core and Azure SignalR Service.

Support Uniapp

Installation

npm install uniapp-signalr
# or
yarn add uniapp-signalr

Usage

See the SignalR Documentation at learn.microsoft.com for documentation on the latest release. API Reference Documentation is also available on learn.microsoft.com.

For documentation on using this client with Azure SignalR Service and Azure Functions, see the SignalR Service serverless developer guide.

Example (Uniapp)

import * as signalR from "uniapp-signalr";

let connection = new signalR.HubConnectionBuilder()
    .withUrl("/chat")
    .build();

connection.on("send", data => {
    console.log(data);
});

connection.start()
    .then(() => connection.invoke("send", "Hello"));
7.0.12

5 months ago

7.0.9

8 months ago

7.0.0

1 year ago

7.0.1

1 year ago

6.0.5

2 years ago

1.0.0

2 years ago