Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

onmessage in SSE(Server Side Events) is not working. This is a potential solution. check simplest demo.

NotificationsYou must be signed in to change notification settings

n4j1Br4ch1D/onmessage-in-Server-Side-Events-is-not-working

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

onmessage in SSE(Server Side Events) is not working. This is a potential solution. check simplest demo.


The Problem is With ServerSideCode:
1-make sure you add correct headers such as : header("Content-Type: text/event-stream");.
2-make sure you set your response to data like this: 'data: your response text'.
3-make sure you add a line break to the end of response text twise like this: "\n\n";.
https://github.com/n4j1Br4ch1D

About

onmessage in SSE(Server Side Events) is not working. This is a potential solution. check simplest demo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp