Table of Contents

Property StartPort

Namespace
DisCatSharp.Extensions.OAuth2Web
Assembly
DisCatSharp.Extensions.OAuth2Web.dll

StartPort

Sets the port to listen on.

Defaults to 42069.

If used in sharding, the port will automatically be increased by 1 per shard.

Example: Sharding with 2 shards.
<p>Shard 0 will listen on <code>42069</code>.</p>
<p>Shard 1 will listen on <code>42070</code></p>
public int StartPort { init; }

Property Value

int