Otter SDK Reference
Version:

WithServer(int? serverId) Method

Returns a copied instance of the the current context with the specified server ID.

Syntax

public OtterContext WithServer(int? serverId)

Parameters

serverId
Type: int?

The new server ID.

Returns

Copied context.