Commit Graph

26 Commits

Author SHA1 Message Date
David Fowler 71abbd22f4
Remove Binary over text sample (#1975)
We don't support it anymore
2018-04-12 09:40:46 -07:00
BrennanConroy a47e1051e8
Add protocol version to handshake (#1666) 2018-03-22 15:54:35 -07:00
James Newton-King 4f10560087
Rename negotiate to handshake, add handshake response, add close frame (#1591) 2018-03-20 17:40:22 +13:00
Mikael Mengistu df2c7feb4d
Remove ProtoBuf from spec (#1478) 2018-02-21 21:54:12 +00:00
Andrew Stanton-Nurse 0435b6dc6e
add headers and revamp msgpack tests (#1382) 2018-02-07 09:36:29 -08:00
Andrew Stanton-Nurse bc3e15380c
Fix typo in HubProtocol doc (#1367) 2018-01-29 16:15:21 -08:00
Andrew Stanton-Nurse 00a6dc983a
Fix #1170 by removing invocationId from non-blocking calls (#1218) 2017-12-19 10:40:58 -08:00
Andrew Stanton-Nurse c1d2024864
Implement #1156 by having the server send Ping messages (#1161) 2017-12-04 14:43:27 -08:00
Andrew Stanton-Nurse cb3124be17
First pass at Keep Alive (#1119)
This adds the Ping message type and support for sending/receiving it in the Hub Protocols. It does not add the logic to transmit keep-alive frames.
2017-11-16 09:45:13 -08:00
Pawel Kadluczka 18f308fb05 Updating spec with StreamInvocation, removing StreamCompletion 2017-11-14 09:53:37 -08:00
Pawel Kadluczka dde1a75b80 Updating spec 2017-11-01 20:20:43 -07:00
Pawel Kadluczka e7e84035c0 Adding StreamCompletion message to the HubProtocol spec (#1041)
Adding StreamCompletion message to the HubProtocol spec
2017-10-23 10:45:14 -07:00
BrennanConroy de2e0967c3 Adding CancelInvocation message (#979)
* For Streaming only. And C# client only.
2017-10-06 15:55:39 -07:00
Kai Ruhnau 3c5d283689 Fix the VarInt example for the 2GiB
`0x7fffffff` has 31 binary ones. The first four bytes of the VarInt account for 4*7=28, so the fifth byte only needs the remaining three
2017-10-06 10:38:21 -07:00
Pawel Kadluczka 83bc056085 Merge branch 'rel/1.0.0-alpha2' into dev 2017-10-03 11:10:32 -07:00
Pawel Kadluczka aa0d5ec659 Updating HubProtocol spec to account for using VarInt to encode length prefix 2017-10-02 14:21:51 -07:00
Andrew Stanton-Nurse 7bc3db1b29 Fix some markdown glitches. (#879) 2017-09-14 14:50:17 -07:00
Pawel Kadluczka 419cedd4f7 Updating spec for record separator, binary over text 2017-08-23 09:09:00 -07:00
Pawel Kadluczka 4504ae56d5 Update protocol spec for Message Pack (#703)
* Updating the spec with MsgPack encoding
2017-08-10 18:44:00 -07:00
David Fowler e762adc018 Updated Hub protocol
- Removed blurb about websockets
2017-06-15 09:22:52 +02:00
David Fowler 53c94b9450 Updated the spec
- Removed the text and binary frames distinction
- Removed the datagram requirement
2017-06-15 09:22:14 +02:00
David Fowler 59a8f5f3b5 Simplify the JSON and protobuf protocols (#524)
- Remove message type and message format
- Updated tests
2017-06-06 07:18:23 -10:00
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
Andrew Stanton-Nurse 8d5ce5f38b small typo fixes in Hub Protocol spec 2017-05-16 11:01:52 -07:00
Andrew Stanton-Nurse ca481dab85 Add non-blocking invocations to the spec (#382)
* Add non-blocking invocations to the spec
* make the rules on streamed results stricter
* more clarifications on protocol errors
2017-04-12 18:00:09 -07:00
Andrew Stanton-Nurse a181dc558a SignalR Hub Protocol (#372) 2017-04-11 14:08:48 -07:00