Would this mean that relays would need to support both formats? (falling back to json if the client doesn't support it)

Reply to this note

Please Login to reply.

Discussion

Nope, relays could advertise that they support it or not. Would be completely optional.

But then you specifically request data in this firmat from the relay, so that you need no detection on client side, right?

It would be advertised in the relay metadata if it’s supported or not.

That part is clear, but how does the relay decide which format to send events in?

When it sees a binary request it can respond in binary. The first byte could be a magic byte instead of [

Learned a trick to filter the coffee beans.

🎟️

Filter the terminal with it.

😀

🍎

Head of state.

Quite developable, however, 💌

🧐

Sounds like Avro