johannschopplich / nuxt-api-party

🐬 Securely connect to any API with a server proxy and generated composables
https://nuxt-api-party.byjohann.dev
MIT License
264 stars 11 forks source link

SSE implemention #26

Open Abdulrhman02 opened 1 year ago

Abdulrhman02 commented 1 year ago

Describe the feature

Hello Johann,

thank you again for your great work.

I was wondering how to implement SSE requests using the package. if you have any suggestions on how to work this out, I will appreciate it.

Additional information

Final checks

johannschopplich commented 1 year ago

Hi there, I actually don't know what SEE requests are. Please elaborate. State your intentions and clarify your use case. Thanks in advance!

Abdulrhman02 commented 1 year ago

I apologize for misspelling I was meaning SSE, which is read-only steaming

my use case is that I want to read data from API in Steam using sse cause it fast and lighter than WebSocket

johannschopplich commented 1 year ago

Linking an SSE Nuxt implementation for the one who wants to implement SSE for Nuxt API Party. As stated earlier, PR happily welcome. 🙂