Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- dataType: "json",
- url: "/notification/unreadnotificatons/",
- method: "GET",
- success: function (response) {
- if (response != null)
- filterForNew(response);
- }
- });
- const connection = new signalR.HubConnectionBuilder()
- .withUrl("/notificationHub")
- .build();
- connection.start()
- .catch(err => console.error(err.toString()));
Add Comment
Please, Sign In to add comment