OptionalcancelOptional: abort an in-flight upload (called on window teardown).
OptionalplanSelect a destination without signing, network I/O, browser UI, or byte egress. Its returned execution must retain this exact selection. Required when the service is attached to a permission-enabled runtime.
OptionalstatusOptional: resolve the latest status for an upload the service is not tracking.
Upload request.data, streaming progress through ctx.onStatus.
Abstract upload backend. Implementors own server selection, rail authorization signing (NIP-98 for NIP-96, kind 24242 for Blossom), the HTTP upload, and integrity-hash reporting. The service translates wire envelopes into these calls and back. A concrete reference implementation ships as createHttpUploader.