Skip to content

How can I accept Server Sent Event use http client using curl. #13395

Answered by bagder
chenghuiwen asked this question in Q&A
Discussion options

You must be logged in to vote

curl delivers data for the protocols it supports, not raw TCP. You talk about HTTP server events here so its not really clear how getting raw TCP data would help.

If you want raw TCP, just open a socket and connect to a server.

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
1 reply
@chenghuiwen
Comment options

Comment options

You must be logged in to vote
12 replies
@chenghuiwen
Comment options

@bagder
Comment options

@chenghuiwen
Comment options

@bagder
Comment options

Answer selected by chenghuiwen
@chenghuiwen
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants