Guest User

Untitled

a guest
Jul 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. $.ajax({
  2. dataType: "json",
  3. url: "/notification/unreadnotificatons/",
  4. method: "GET",
  5. success: function (response) {
  6. if (response != null)
  7. filterForNew(response);
  8. }
  9. });
  10.  
  11. const connection = new signalR.HubConnectionBuilder()
  12. .withUrl("/notificationHub")
  13. .build();
  14.  
  15. connection.start()
  16. .catch(err => console.error(err.toString()));
Add Comment
Please, Sign In to add comment