Skip to content

Commit

Permalink
Refactor session handling for better integration with BiDi (#1608)
Browse files Browse the repository at this point in the history
With BiDi we want to support multiple sessions, at most one of which
can also enable the HTTP frontend. Therefore we add the concept of
multiple sessions, which can have different flags set according to the
protocols they support (http, bidi, etc.).

This explictly passes the session, parameters and url variables down
into each command. In addition the URL variables are handled as a
infra struct rather than as a custom thing with implied variables.

Instead of having a concept of the "current session" we explicitly
pass the session around where required.

---------

Co-authored-by: Maksim Sadym <[email protected]>
  • Loading branch information
jgraham and sadym-chromium authored Feb 26, 2024
1 parent a04dbf7 commit 63a397f
Showing 1 changed file with 1,263 additions and 1,030 deletions.
Loading

0 comments on commit 63a397f

Please sign in to comment.