mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
add SignalR client service
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<my-app>Loading...</my-app>
|
||||
|
||||
|
||||
<!--
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
var broadcaster = $.connection.broadcaster;
|
||||
@@ -39,6 +40,7 @@
|
||||
broadcaster.server.broadcast('hello from client');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user