Skip to content

Store cookies for sticky session #474

@DanielChabrowski

Description

@DanielChabrowski

Hi,
I've noticed that the recommended way of using multiple socket.io server nodes that do http long-polling and therefore maintaining a sticky session is to be done via cookies - according to https://socket.io/docs/v4/using-multiple-nodes/.

However, this crate does not seem to support that as reqwest's cookie store needs to be enabled as a feature and through a client builder.

Would you consider adding that functionality? I'll happily prepare a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions