You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The Server Sent Event (SSE) is an essential feature for modern applications and We proved SSE is possible with Dio.
Describe the solution you'd like
@GET("/sse-endpoint")
Stream<SseMessage> sse();
or maybe we should introduce @SSE annotation instead of @GET.
Describe alternatives you've considered
Currently, I'm using Dio directly for this kind of connection. But It can generated by retrofit_generator
Is your feature request related to a problem? Please describe.
The Server Sent Event (SSE) is an essential feature for modern applications and We proved SSE is possible with Dio.
Describe the solution you'd like
or maybe we should introduce
@SSE
annotation instead of@GET
.Describe alternatives you've considered
Currently, I'm using Dio directly for this kind of connection. But It can generated by
retrofit_generator
Additional context
cfug/dio#1279
Also, I created a transformer to build SseMessage. cfug/dio#1279 (comment)
The text was updated successfully, but these errors were encountered: