这是indexloc提供的服务,不要输入任何密码
Skip to content

Server Sent Events #88

@mtiller

Description

@mtiller

I was looking for a way for huma resources to implement Server Sent Events. In that example, they see if the response writer conforms to the Flusher interface. If it does, there is no problem. But I've tried that with huma.Context and it does not conform to the Flusher interface. As a result, it isn't possible to flush the events as they are generated.

Any suggestions here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions