User:ProbablePrime/Sandbox: Difference between revisions

From Resonite Wiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#dpl:
<categorytree mode="all">ProtoFlux</categorytree>
titlematch=%(ProtoFlux)
 
|namespace=Main
{{#mermaid:sequenceDiagram
|mode=userformat
participant Client
|format=,<br/>%PAGE%,
participant API
participant Relay
participant Session Host
 
    autonumber
 
    Client->>API: What relays are available? (api.resonite.com/networknodes)
 
    destroy API
    API-->>Client: Here's a list of relays
   
    Client-->Client: Select the best relay based on ping and other stats
 
   
    Client->>Relay: Connect to best relay
    activate Relay
    activate Client
    activate Session Host
    Relay->>Session Host: Connect to session h~ost
 
    Note over Client,Session Host: LNL messages relayed asycronously
    autonumber off
    Session Host->>Relay: LNL traffic
    Client->>Relay: LNL traffic
   
    deactivate Client
    deactivate Relay
    deactivate Session Host
}}
}}

Latest revision as of 04:27, 16 February 2024