Skip to content

使用SseKeepAlive后,如果判断客户已经关闭连接了 #1149

@longzou

Description

@longzou

在使用SseKeepAlive::new(stream).stream(res)后,我们应该怎么样来检测这个连接的客户端已经关闭了,因为通常需要在客户端完成做一些清理工作。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions