4 ms·
Does this use grpc-web for the front end?
by discreteevent 3y ago
Does this use grpc-web for the front end?
- deleted 3y ago[deleted]
- pseudocomposer 3y agoIt does! It's done in the BE here: https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef31a1583f52bbcc20784127a/backend/src/servers/tonic.rs#L47-L50 https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef3... Negotiation of what transport type to use is done (at the Dart linking level) in Flutter here: https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef31a1583f52bbcc20784127a/frontends/flutter/lib/models/jonline_clients.dart#L8-L9 https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef3... And it's done in React here: https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef31a1583f52bbcc20784127a/frontends/tamagui/packages/app/store/clients.ts#L12-L16 https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef3...