Commit graph

24 commits

Author SHA1 Message Date
aa1b29d41a
Terminology: don't use the word "body" anymore, talk of "attached stream" 2022-07-22 13:44:48 +02:00
b9df442f03
Small optimization 2022-07-22 13:32:08 +02:00
50627c2060
Add comment 2022-07-22 13:27:56 +02:00
5da59ebec5
Move things around and fix error bit 2022-07-22 13:06:10 +02:00
0b71ca12f9
Clean up framing protocol 2022-07-22 12:45:38 +02:00
c358fe3c92
Hide streaming versions as much as possible 2022-07-22 10:55:37 +02:00
4934ed726d
Propose alternative API 2022-07-21 20:22:56 +02:00
7d148c7e76
One possibility, but I don't like it 2022-07-21 19:25:07 +02:00
44bbc1c00c
Rename AutoSerialize into SimpleMessage and refactor a bit 2022-07-21 19:05:51 +02:00
f35fa7d18d
Move things around 2022-07-21 17:37:52 +02:00
d3d18b8e8b use a framing protocol instead of even/odd channel 2022-06-20 23:40:31 +02:00
5d7541e13a wait for any ready stream instead of the highest priority one 2022-06-19 17:47:41 +02:00
4745e7c4ba further work on streams
most changes still required are related to error handling
2022-06-08 09:54:38 +02:00
368ba90879 initial work on associated stream
still require testing, and fixing a few kinks:
- sending packets > 16k truncate them
- send one more packet than it could at eos
- probably update documentation

/!\ contains breaking changes
2022-06-05 15:33:43 +02:00
96d1f14966
Avoid logging full node IDs 2022-02-21 16:57:07 +01:00
706a3b4ac4
Formatting & clippy 2022-02-21 12:04:09 +01:00
3b8bff6341
Refactoring 2022-02-21 12:01:04 +01:00
dc0b5c0305
Add method to know endpoint path 2022-02-16 13:00:26 +01:00
cfa64bc745
Add netapp function to drop all handlers 2021-10-14 17:33:12 +02:00
8a0bfa0ff6
Change call() to take a ref to the message to be sent
Handlers also receive a ref
2021-10-14 16:11:07 +02:00
01a2737bd8
Document 2021-10-14 11:35:05 +02:00
70839d70d8
Try to handle termination and closing of stuff properly 2021-10-13 17:12:13 +02:00
8dede69dee
Fix netapp protocol & adapt basalt to new api 2021-10-13 12:33:14 +02:00
f87dbe73dc
WIP v0.3.0 with changed API 2021-10-12 17:59:46 +02:00