Open
Description
Hi there,
First of all, thank you for building this fantastic library!
I wanted to ask if there is a way to use the POST method with useEventSource? I’m working on a project where I need to send a payload to the server as part of the SSE connection, but as far as I know, the native EventSource API only supports GET requests. This is a bit limiting for my use case, as I need to send data through POST.
If the library doesn’t currently support POST requests, I’d like to suggest adding this feature. It would be incredibly useful to have the ability to specify the HTTP method (GET or POST) and include a request body when establishing the SSE connection.
Metadata
Metadata
Assignees
Labels
No labels