Skip to content

Conversation

@mhanberg
Copy link

A new callback called "handle_preconnect" which is called before the
Mint.HTTP connection is started. This allows you to add headers or
change the state before making the connection.

This is useful for WS servers that use a timestamp signature in a
header, which is rejected if the timestamp is too old. This is run when
reconnected, so it'll be a fresh header.

A new callback called "handle_preconnect" which is called before the
Mint.HTTP connection is started. This allows you to add headers or
change the state before making the connection.

This is useful for WS servers that use a timestamp signature in a
header, which is rejected if the timestamp is too old. This is run when
reconnected, so it'll be a fresh header.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant