content
@ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v3_3_3 )
Deprecated
This API is dangerous because the resulting upload can only be used once and can also lead to resource leaks.
Replace with
content {sink ->
val source = openSource()
source.use {sink.writeAll(it)}
}Content copied to clipboard