Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial support bidirectional, server-initiated channels #19

Closed

Commits on Aug 16, 2022

  1. initial support bidirectional, server-initiated channels

    Channels need not be exclusively client-created, in fact few (if any?)
    channels specify directionality, and refer only to a sender and receiver.
    
    This does an initial, somewhat minimal pass at making servers capable of
    initiating channels. This is rather rough and I think greater
    abstraction is warranted here; I pulled out relevant parsing code into
    `parsing.rs`, but there is logical duplication between the client and
    server which I don't have time to disentagle. This also only implements
    _some_ channel functionality on the server-side, it's not as complete as
    the client.
    
    The significant breaking change here is that `server::run_stream` now
    returns (almost) immediatel with a SessionHandle, similar to the client;
    this is used to open channels.
    
    Ultimately this is a big set of changes I would understand if there's
    not great desire to merge this upstream :)
    connor4312 committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    7add32c View commit details
    Browse the repository at this point in the history