Files
pipelines/app/lib/features/chat/data/upload/chat_upload_stub.dart
T
alan 9702d68d2d Ask for the password once and retry when a machine requires elevation
Carry the protocol error code, wrap each machine's gateway so an
elevation_required refusal shows one native password dialog, elevates that
connection and retries; send the upload token with file uploads; add a Settings
sign-in security section with the weak-password warning and sign out
everywhere; accept the __Host- session cookie.
2026-11-10 01:21:28 +00:00

12 lines
303 B
Dart

import 'dart:typed_data';
import 'chat_upload.dart';
Future<ChatUploadReply> postChatUpload(
Uri uri, {
required String name,
required String mime,
required Uint8List bytes,
Map<String, String> headers = const {},
}) => throw UnsupportedError('Uploads are not supported on this platform.');