Go to file
David Fowler 38efde7b50 Merge transport and hub protocols (#517)
* 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
2017-06-05 09:45:40 -10:00
build Remove unnecessary build step and reference (#504) 2017-06-01 15:21:21 -07:00
client-ts Merge transport and hub protocols (#517) 2017-06-05 09:45:40 -10:00
samples Merge transport and hub protocols (#517) 2017-06-05 09:45:40 -10:00
specs Merge transport and hub protocols (#517) 2017-06-05 09:45:40 -10:00
src Merge transport and hub protocols (#517) 2017-06-05 09:45:40 -10:00
test Merge transport and hub protocols (#517) 2017-06-05 09:45:40 -10:00
typings
.gitattributes
.gitignore
.travis.yml Removed pip install 2017-06-03 09:57:11 -07:00
CONTRIBUTING.md
LICENSE.txt
NuGet.config Updating versions to preview3 2017-06-01 10:47:52 -07:00
NuGetPackageVerifier.json
README.md
SignalR.sln Merge transport and hub protocols (#517) 2017-06-05 09:45:40 -10:00
appveyor.yml
build.cmd
build.ps1
build.sh
version.props Updating versions to preview3 2017-06-01 10:47:52 -07:00

README.md

ASP.NET Core SignalR

AppVeyor: AppVeyor

Travis: Travis

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/