Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
This repository was archived by the owner on May 30, 2024. It is now read-only.

Does your eventsource library override the native node version?  #262

Closed as not planned

Description

@xtianus79

sorry I posted here but you can't use issues for that library that is forked.

In this article the question talks about using a body. When I read your library it seems as if I have full control over the native eventsource from node. The only option is "withcredentials". Am I thinking of this correctly?

I need to send information with my request. I'd like to do it in a post. Perhaps I am thinking of the wrong thing. Can you help explain this.

https://stackoverflow.com/questions/25099548/html-sse-request-body

Activity

  1. eli-darkly commented on Oct 3, 2022

    @eli-darkly
    Contributor

    It's not totally clear to me what you're asking, so, a couple of clarifications:

    1. The library you're talking about is https://github.com/launchdarkly/js-eventsource ... right?
    2. When you say "full control over the native eventsource from Node", what do you mean by "the native eventsource"? The main reason that this library exists (which is the same reason that the original project we forked it from exists) is that there is no SSE/EventSource implementation built into Node. There is a native EventSource API in web browsers.
    3. Did you read the README.md file? There's some fairly detailed documentation in it, including this section which is specifically about configuring it to do a POST request.
  2. added a commit that references this issue on Dec 7, 2022
  3. added
    waiting for feedback
    on Jun 29, 2023
  4. github-actions commented on Jul 30, 2023

    @github-actions

    This issue is marked as stale because it has been open for 30 days without activity. Remove the stale label or comment, or this will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalewaiting for feedback

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions