Skip to content

Embedded proxy option #837

Closed
Closed
@andrewgazelka

Description

@andrewgazelka

To set the game server address one can do:

world.set(GameServerEndpoint::from(address));

However, this is not the address people will log into. It is the proxy address. I want there be an easy way to start the proxy and the game server at the same time.

A potential thought:

we make a new crate called embedded-proxy or similar and we can do

 world.set(UserFacingEndpoint::from(address)); 

(perhaps with better naming)

and there will be an observer to

  • start the proxy with UNIX socket (perhaps)
  • set GameServerEndpoint to something

This would allow running one binary to start game server and proxy.

Some thoughts:

  • A lot of the time you might want to toggle whether connecting to an external proxy vs not at runtime (through argument) rather than compile time probably. This is something to consider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions