Commit Graph

68 Commits

Author SHA1 Message Date
Oliver Booth d8d4510d0f
fix: remove callback tcs on response 2024-02-14 15:24:01 +00:00
Oliver Booth de672241f7
fix: set tcs result on callback response 2024-02-14 15:23:19 +00:00
Oliver Booth 50a73d21eb
perf: remove LINQ in ctor lookup 2024-02-14 15:22:41 +00:00
Oliver Booth 45a0b3898a
feat: use async event handlers 2024-02-14 15:20:55 +00:00
Oliver Booth 3ac93daf4f
refactor: pass cancellation token to SetCanceled 2024-02-13 00:33:04 +00:00
Oliver Booth 19c83b14a1
fix: read handshake response explicitly 2024-02-13 00:31:19 +00:00
Oliver Booth bf7f14acac
refactor: suppress nrt for RemoteEndPoint read 2024-02-13 00:07:10 +00:00
Oliver Booth 906d5870f8
[ci skip] test: add additional trace logging 2024-02-13 00:06:53 +00:00
Oliver Booth 5cb8b821ca
refactor: use default listen backlog 2024-02-13 00:06:22 +00:00
Oliver Booth 45111aae72
[ci skip] style: give exception message a variable to remove concat 2024-02-12 22:57:19 +00:00
Oliver Booth 1485578088
style: remove redundant line break 2024-02-12 22:55:29 +00:00
Oliver Booth 55bc903ea9
perf: remove redundant Task.Run 2024-02-12 22:53:54 +00:00
Oliver Booth a8427fcaf6
style: add branding graphics 2024-02-12 22:48:00 +00:00
Oliver Booth 56de55ca40
fix: pass callback id to handshake response ctor 2024-02-12 19:28:38 +00:00
Oliver Booth bb734eac96
feat: pass cancellation token to ConnectAsync 2024-02-12 19:26:49 +00:00
Oliver Booth 362c51cd09
refactor!: use completion source for expected response
This commit changes the constraint on TReceive making it a breaking change!
2024-02-12 19:26:33 +00:00
Oliver Booth 0a9348fd66
feat: add parameterless ctor for reflection 2024-02-12 19:24:58 +00:00
Oliver Booth 3aebd26460
[ci skip] docs: bump version in readme to 1.0.0 2024-02-12 19:13:22 +00:00
Oliver Booth 94f8886a64
chore!: remove netstandard2.1 target 2024-02-12 18:10:02 +00:00
Oliver Booth 4f846180aa
[ci skip] chore: add ko_fi funding link to repo 2024-02-12 18:06:46 +00:00
Oliver Booth a3e540ac83
refactor: generate callback ID from RequestPacket, not client 2024-02-12 18:03:46 +00:00
Oliver Booth 18b0ff3f25
perf: use static RandomNumberGenerator to generate AES key 2024-02-12 17:59:54 +00:00
Oliver Booth ff78acfb56
fix: HandshakeRequestPacket inherits RequestPacket 2024-02-12 17:58:38 +00:00
Oliver Booth 65cb143b06
[ci skip] style(docs): use flat-square shield style 2024-02-12 17:48:40 +00:00
Oliver Booth 7b21514dc4
ci: run nightly on push to main, or workflow_dispatch 2024-02-12 17:46:58 +00:00
Oliver Booth 6959778e09
ci: run dotnet on all branches 2024-02-12 17:46:37 +00:00
Oliver Booth 86ef244789
chore: add workflows and solution items to sln 2024-02-12 17:45:48 +00:00
Oliver Booth 5b96ef2098
ci: use .NET 8 SDK 2024-02-12 17:45:33 +00:00
Oliver Booth d7ba24e302
style: remove UTF-8 BOM 2024-02-12 17:41:52 +00:00
Oliver Booth 0c5c2087b9
[ci skip] style: run code cleanup 2024-02-12 17:40:15 +00:00
Oliver Booth 32fecb5ace
fix: pass in not ref with net8.0 to MemoryMarshal.TryWrite 2024-02-12 17:35:44 +00:00
Oliver Booth ed279cfd69
feat: add .net 8 target 2024-02-12 17:33:56 +00:00
Oliver Booth 259fdddd6e
refactor!: rename BaseClientNode to ClientNode 2024-02-12 17:32:29 +00:00
Oliver Booth e7dfe97c6d
refactor!: remove TSend generic parameter from SendAndReceiveAsync 2024-02-12 17:30:56 +00:00
Oliver Booth 7b74e1f3e5
Upgrade solution to .NET 7 2023-03-10 10:55:57 +00:00
Oliver Booth aa5a3eef24
[ci skip] Update year in LICENSE 2023-03-10 10:54:22 +00:00
Oliver Booth b8df2c50c4
Cache remote endpoint to prevent ObjectDisposedException 2023-01-23 18:00:43 +00:00
Oliver Booth ca55005c30
Use synchronous reading of length prefix 2023-01-23 10:50:36 +00:00
Oliver Booth f377cd7de1
Wrap reading in Task.Factory.StartNew 2023-01-23 10:27:50 +00:00
Oliver Booth 534ba147c5
[ci skip] Fix badge link 2023-01-22 15:00:33 +00:00
Oliver Booth b95f417abf
Use synchronous packet (de)serialization 2023-01-22 14:52:08 +00:00
Oliver Booth 6548da76ad
Order methods alphabetically; add Read/Write for double/float 2023-01-22 14:41:54 +00:00
Oliver Booth 553f7235f1
Respond with Goodbye! in GoodbyePacket 2023-01-22 14:41:14 +00:00
Oliver Booth a0d686109c
Switch to AES encryption prior to sending session token 2022-07-09 10:47:39 +01:00
Oliver Booth f7a546850c
Merge branch 'main' into develop 2022-07-08 13:42:27 +01:00
Oliver Booth 6bcd8043c1
Set callback ID to ID of packet, not client instance 2022-07-08 13:40:48 +01:00
Oliver Booth 2d22b1599d
Merge branch 'develop' into main 2022-07-07 13:17:19 +01:00
Oliver Booth 19869dddcb
Add request/response packets
Introduces the concept of a "callback ID". In the event that more than one of the same packet type are received, a callback ID differentiates them.
2022-07-07 13:17:13 +01:00
Oliver Booth 71f9bdd35f
Merge branch 'develop' into main 2022-07-05 14:56:05 +01:00
Oliver Booth 869e18d615
[ci skip] Add integration tests 2022-07-05 14:55:59 +01:00