Chen Yu Pao
d318d733c4
StreamInvocationMessage => StreamInvocation Message ( #2542 )
2018-06-26 12:43:38 -07:00
Dylan Dmitri Gray
e3835b3c94
ping timeout changes ( #2375 )
...
documentation updates
2018-05-25 14:40:28 -07:00
Andrew Stanton-Nurse
380a153405
Clarify record separator usage ( #2345 )
2018-05-21 22:31:47 -07:00
David Fowler
903fe1e902
Added support for negotiate response to redirect the client to another SignalR endpoint ( #2070 )
...
- Add a SkipNegotiation flag to the .NET and ts client
to allow skipping the negotiation phase. Don't infer it based on the transport type.
- Updated the negotiate protocol to support returning a redirect url
- Added support to .NET client to handle redirect negotiations
- Handle poorly written endpoints that sends infinite redirects
- Added access token support and an infinite redirect guard
- Add delete handler for stopping the transport
2018-04-18 14:22:45 -07:00
Andrew Stanton-Nurse
24328b8e88
fix #1281 by adding support for DELETE endpoint on server ( #1925 )
2018-04-12 12:39:08 -07:00
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
Andrew Stanton-Nurse
fb6121399c
Remove support for binary over SSE and add transfer format to negotiation ( #1564 )
2018-03-13 14:29:32 -07: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
BrennanConroy
93cbf4dbef
Change negotiate to POST ( #1122 )
2017-11-17 15:31:47 -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
Pawel Kadluczka
57d2382c46
Http Post section revision ( #1042 )
...
* Http Post section revision
Fixes : #993
2017-10-23 10:29:47 -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
523517f60c
Add support for timing out poll requests ( #538 )
...
* Add support for timing out poll requests
- Default poll request is 110 seconds (like in previous versions of SignalR)
- Use 200 with a 0 content length for timeouts.
- Added support for not timing out while debugging
2017-06-07 20:55:00 -10:00
Pawel Kadluczka
a14a0ab039
Adding structured negotiate
2017-06-06 15:53:21 -07: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
David Fowler
42e2715a95
Removed EndOfMessage from Message ( #513 )
...
* Removed EndOfMessage from Message
- The webSockets transport no longer supports partial payloads so
this feature is now gone.
2017-06-03 08:32:28 -10:00
David Fowler
240a88f7af
Make the http end points more resty ( #470 )
...
- Use HTTP verbs to describe functionality for endpoints
- Updated TransportProtocols.md
2017-05-19 23:37:17 -07:00
Andrew Stanton-Nurse
8d5ce5f38b
small typo fixes in Hub Protocol spec
2017-05-16 11:01:52 -07:00
David Fowler
ba99a89ee6
Fixed typo in the spec ( #431 )
2017-05-01 09:13:47 -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
Andrew Stanton-Nurse
cd246adb6f
Update spec for behavior on poll reconnect ( #305 )
2017-03-15 18:03:12 -07:00
Andrew Stanton-Nurse
577b765a8a
Update TransportProtocols.md ( #295 )
2017-03-14 09:57:19 -07:00
moozzyk
aca34cb4a1
Merge branch 'pawelka/FIN' into dev
2017-03-07 14:57:07 -08:00
Pawel Kadluczka
2be05e24c8
Removing [Fin]
...
[Fin] was removed because we decided not to allow multi-frame messages in Long-Polling/Server-Sent Events.
2017-03-07 14:56:10 -08:00
Andrew Stanton-Nurse
78dfd278c1
Integrating new transport protocols ( #257 )
2017-03-07 10:46:36 -08:00
Andrew Stanton-Nurse
2fff96311b
tidying up the transport spec ( #171 )
2017-02-02 14:41:38 -08:00
Andrew Stanton-Nurse
8b6c25ad86
Minor fix to transport protocol spec
2017-01-18 09:13:37 -08:00
Andrew Stanton-Nurse
7a27c5891c
Describe transport protocols ( #125 )
...
Describe the protocols to be used by Long Polling and Server-Sent Events.
2017-01-18 09:04:52 -08:00