NomadDeviceSyncApiV0
internal open class NomadDeviceSyncApiV0(authenticatedNetworkClient: AuthenticatedNetworkClient, nomadServiceUrl: String? = null) : NomadDeviceSyncApi
Constructors
Link copied to clipboard
internal constructor(authenticatedNetworkClient: AuthenticatedNetworkClient, nomadServiceUrl: String? = null)
Types
Link copied to clipboard
internal class StreamCryptoStateBodyContent(fileContentStream: () -> <Error class: unknown class>, fileSize: Long)
Custom OutgoingContent implementation to stream the crypto state backup as multipart/form-data without loading it all into memory. The content is structured as follows: --boundary Content-Disposition: form-data; name="file"; filename="CHANGELOG.zip" Content-Type: application/octet-stream Content-Length:
Functions
Link copied to clipboard
open suspend override fun downloadCryptoState(tempBackupFileSink: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun postMessageEvents(request: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
Link copied to clipboard
open suspend override fun uploadCryptoState(clientId: String, backupSource: () -> <Error class: unknown class>, backupSize: Long): NetworkResponse<Unit>