Class WolfClientBuilderUtilitiesExtensions
Extension methods for WolfClientBuilder that enable easy adding of utilities.
Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Utilities.dll
Syntax
public static class WolfClientBuilderUtilitiesExtensions
Methods
| Improve this Doc View SourceWithAutoReconnection(WolfClientBuilder, Action<ReconnectorConfig>)
Adds WolfClientReconnector together with WolfClient, and allows configuration.
Declaration
public static WolfClientBuilder WithAutoReconnection(this WolfClientBuilder clientBuilder, Action<ReconnectorConfig> configure)
Parameters
Type | Name | Description |
---|---|---|
WolfClientBuilder | clientBuilder | The WOLF client builder. |
Action<ReconnectorConfig> | configure | Delegate that can be used to configure commands. |
Returns
Type | Description |
---|---|
WolfClientBuilder | Current WOLF Client builder instance. |