Table of Contents

Constructor BlockUntilReconnectedOrTimeout

Namespace
WhalesSecret.TradeScriptLib.API.TradingV1.ConnectionStrategy
Assembly
WhalesSecret.TradeScriptLib.dll

BlockUntilReconnectedOrTimeout()

Creates a new instance of the object.

public BlockUntilReconnectedOrTimeout()

Remarks

Use this constructor to always wait for reconnection.

BlockUntilReconnectedOrTimeout(TimeSpan)

Creates a new instance of the object.

public BlockUntilReconnectedOrTimeout(TimeSpan preRequestTimeout)

Parameters

preRequestTimeout TimeSpan

Time period after which an exchange API request will time out unless an exchange connection is established again. Use InfiniteTimeSpan or BlockUntilReconnectedOrTimeout() constructor to create connection strategy that has no timeout and always waits until the connection is reestablished or the call is cancelled.