Table of Contents

Property Timeout

Namespace
DSharpPlus.Net
Assembly
DSharpPlus.dll

Timeout

Sets the timeout for RestClient operations. Set this to InfiniteTimeSpan to never time out. Defaults to 100 seconds.

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan

Remarks

Setting this value does not affect the Timeout of the HttpClient supplied by Dependency Injection.