9702d68d2d
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.
12 lines
303 B
Dart
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.');
|