urbit/pkg/arvo/sys/vane
fang 10fe204c9e eyre: add support for noun-based channels
Adds a "mode" to channels, which can be set to either %json (current
behavior) or %jam. For %jam channels, aside from the SSE framing, all
communication happens through @uw-encoded jammed nouns. This applies to
both outgoing channel events, as well as incoming channel requests.

We choose @uw-style encoding because raw bytestreams are fragile and
cannot work inside the SSE stream context.

Currently, a separate endpoint (/~/channel-jam/etc) is used to indicate
%jam as the desired mode for a channel. We will probably want to make
this a bit cleaner, not least because it's not currently implemented as
a formal standalone endpoint, but also to give it stronger aesthetic
equivalence with the existing channel endpoint. Putting the mode in the
file extension is a tempting option here, but semantically not quite
right.

Connecting to the same channel across multiple modes is currently
supported, but it's untested, and unclear whether this is desirable or
not.
2023-03-16 14:31:45 -06:00
..
ames.hoon ames: sanity check abetting the sink core 2023-03-15 10:35:08 +01:00
behn.hoon behn: cleans up comments 2022-06-17 22:20:16 -04:00
clay.hoon dome:clay => domo, moved to lull, full scry enabled 2023-03-15 08:35:59 -04:00
dill.hoon dill: formally deprecate %knob mechanism 2023-02-24 22:41:32 +01:00
eyre.hoon eyre: add support for noun-based channels 2023-03-16 14:31:45 -06:00
gall.hoon ames: clean all stale %watches in on-kroc 2023-02-06 16:38:04 +01:00
iris.hoon strandio: fail when http request gets cancelled 2021-09-28 20:51:51 +04:00
jael.hoon Merge branch 'next/dill' into next/arvo 2023-01-10 20:22:29 +01:00
khan.hoon clay: defer all calls to %wick 2022-10-26 22:09:53 -07:00