SFTApiImpl

internal class SFTApiImpl(sftNetworkClient: UnboundNetworkClient) : SFTApi

SFT URLs come from AVS and can point to any host, so this must only ever be given an unauthenticated client. Never back it with the Wire backend client.

Constructors

Link copied to clipboard
constructor(sftNetworkClient: UnboundNetworkClient)

Functions

Link copied to clipboard
open suspend override fun connectToSFT(url: String, data: String): NetworkResponse<ByteArray>