Skip to content

Commit 83785ee

Browse files
ES5 support in SIgnalR /6 (dotnet#28325)
* ES5 support in SIgnalR /6 * ES5 support in SIgnalR /6
1 parent f1d14d7 commit 83785ee

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

aspnetcore/includes/SignalR/es6.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<a name="es6"></a>
2+
3+
## Browsers that don't support ECMAScript 6 (ES6)
4+
5+
SignalR targets ES6. For browsers that don't support ES6, transpile the library to ES5. For more information, see [Getting Started with ES6 – Transpiling ES6 to ES5 with Traceur and Babel](https://weblogs.asp.net/dwahlin/getting-started-with-es6-%E2%80%93-transpiling-es6-to-es5).

aspnetcore/signalr/client-features.md

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ The table below shows the features and support for the clients that offer real-t
4444

4545
Support for enabling additional client features is tracked in [our issue tracker](https://github.com/dotnet/AspNetCore/issues).
4646

47+
[!INCLUDE[](~/includes/SignalR/es6.md)]
48+
4749
## Additional resources
4850

4951
* [Get started with SignalR for ASP.NET Core](xref:tutorials/signalr)

aspnetcore/signalr/introduction.md

+3
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ A hub is a high-level pipeline that allows a client and server to call methods o
5151

5252
Hubs call client-side code by sending messages that contain the name and parameters of the client-side method. Objects sent as method parameters are deserialized using the configured protocol. The client tries to match the name to a method in the client-side code. When the client finds a match, it calls the method and passes to it the deserialized parameter data.
5353

54+
[!INCLUDE[](~/includes/SignalR/es6.md)]
55+
5456
## Additional resources
5557

5658
* [Introduction to ASP.NET Core SignalR](/training/modules/aspnet-core-signalr)
5759
* [Get started with SignalR for ASP.NET Core](xref:tutorials/signalr)
5860
* [Supported Platforms](xref:signalr/supported-platforms)
5961
* [Hubs](xref:signalr/hubs)
6062
* [JavaScript client](xref:signalr/javascript-client)
63+
* [Browsers that don't support ECMAScript 6 (ES6)](xref:signalr/supported-platforms#es6)

aspnetcore/signalr/supported-platforms.md

+2
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ The following clients are available but are experimental or unofficial. The foll
4545

4646
* [C++ client](https://github.com/aspnet/SignalR-Client-Cpp)
4747
* [Swift client](https://github.com/moozzyk/SignalR-Client-Swift)
48+
49+
[!INCLUDE[](~/includes/SignalR/es6.md)]

0 commit comments

Comments
 (0)