Streaming
Deprecated (with error)
In KtorGen, this annotation is no longer necessary.The type HttpStatement, coroutines Flow or Kotlin Result have 'smart use', don't need to be marked with annotation to works
Deprecated, not needed
Use the type HttpStatement, coroutines Flow or Kotlin Result directly.
Treat the response body on methods returning HttpStatement
@Streaming
@GET("posts")
suspend fun getPostsAsStreaming(): HttpStatement
Content copied to clipboard