Skip to content

Conversation

Frando
Copy link
Member

@Frando Frando commented Aug 11, 2025

Fixes #60

Changes:

  • Expose a boolean from RemoteConnection::open_bi to indicate whether a new connection was established under the hood or if the previous connection is being reused
  • Add a getter for this is_new_connection boolean to Request
  • Add the high-level APIs (rpc, server_streaming etc) to Request to make working with the request()-based two-step API easier (step 1: prepare request, which creates the connection if needed and opens the channels. step 2: perform the actual request)
  • Adapt the auth example to work well when the server restarts

@Frando Frando marked this pull request as ready for review August 11, 2025 15:57
@Frando Frando changed the title feat: add connection state to allow stateful connections for auth feat: expose remote reconnects to client Aug 11, 2025
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.

Make it possible to have stateful connections
1 participant