Skip to content

Expose Connection on eventloop initialization #608

@sushi-shi

Description

@sushi-shi

This would allow calling different initialization routines (e.g. using http proxy).

Though because EventLoop does reconnection inside it, this won't be enough. As the same routine needs to be called every time we reconnect to the server.
So I can either:

  • add support for proxy directly;
  • provide a callback which is going to be called everytime we connect to the socket.

I am willing to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleNot moving forward; blocked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions