Add gateway realtime fanout and cursor pagination docs

This commit is contained in:
Foxyz committed 2026-02-20 04:24:27 +03:00
1 parent 4399eafc90
commit ccf966ffc1
5 files changed
+800 -23

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ import 'package:relic/relic.dart';
import 'config/config.dart';
import 'src/auth/auth_middleware.dart';
import 'src/gateway/gateway_handlers.dart';
import 'src/handlers/auth_handlers.dart';
import 'src/handlers/channel_handlers.dart';
import 'src/handlers/message_handlers.dart';
@@ -26,6 +27,7 @@ Future<void> startServer() async {
..get('/.well-known/users/:username', publicUserHandler)
..get('/.well-known/verify/:userId', publicVerifyHandler)
..get('/.well-known/server', publicServerInfoHandler)
..get('/gateway', gatewayHandler)
// ============ PROTECTED ENDPOINTS (requires auth) ============
..use('/api', jwtMiddleware)