swift-eventsource icon indicating copy to clipboard operation
swift-eventsource copied to clipboard

Whether the return status response code is supported

Open songdansyz opened this issue 9 months ago • 2 comments

这是开启SSE的接口返回的业务Code,能支持回调回来这些信息吗,目前这样的情况下会执行Close,但是不会有任何信息返回来,期望使用这些信息去处理一些业务

Image

songdansyz avatar Mar 21 '25 02:03 songdansyz

This is the service Code returned by the SSE interface, can you support the callback of this information? At present, in such cases, Close will be executed, but no information will be returned, and it is expected to use this information to process some services

songdansyz avatar Mar 21 '25 02:03 songdansyz

Hi @songdansyz . Sorry I missed your response on that other issue.

That code looks to be part of an application protocol layer. I'm not familiar with that message format being part of the SSE specification.

tanderson-ld avatar Mar 21 '25 14:03 tanderson-ld