* Merge transport and hub protocols - This change merges the transport and hub protocols into a single protocol. The idea being that sockets in a purely streaming layer that sends frames from the underlying transport. This makes things like TCP possible and doesn't impose a framing layer at the lowest level. This will make it possible to build servers like kestrel on top of the TCP layer. - The Message was removed from the lowest layer of the stack and pushed into the hubs layer. Hub invocations are framed with what was before the transport protocol. Connections also need to state upfront if they support binary or not. This will determine how data will be serialized to the specific connection. - Changed the SSE parser and writer to be strictly SSE without any of the transport protocol specific information. - To ensure we aren't using types in the wrong layers - Moved protocol logic into SignalR - Socket.Abstractions is now the root of the universe, Sockets.Common will likely be removed or turned into Sockets.Common.Http. - Move SSE parser to Sockets.Client and SSE writer into Sockets.Http - Moved tests into the appropriate test projects - Updated the spec |
||
|---|---|---|
| build | ||
| client-ts | ||
| samples | ||
| specs | ||
| src | ||
| test | ||
| typings | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| SignalR.sln | ||
| appveyor.yml | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| version.props | ||
README.md
ASP.NET Core SignalR
ASP.NET Core SignalR is a new library for ASP.NET Core developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.
You can watch an introductory presentation here - Introducing ASP.NET Core Sockets.
This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.
Note To build the project locally at this time you will need the TypeScript Compiler on your path.
The JavaScript client is being published to our dev npm registry. The module contains a browserfied version of the client. You can install the module using the following command:
npm install signalr-client --registry https://dotnet.myget.org/f/aspnetcore-ci-dev/npm/