IncomingRequestCheck

StockSharp.Server.Core

The identity an incoming client request has to carry before anything is done with it.

Methoden

IsUsable
public static bool IsUsable(long transactionId)
result = IncomingRequestCheck.IsUsable(transactionId)

Whether a transaction identifier can be used as a key.

transactionId
The identifier as the client wrote it.

Rückgabe: when it may be acted on.

TryValidate
public static bool TryValidate(Message request, Exception error)
result = IncomingRequestCheck.TryValidate(request, error)

Checks an incoming request carries an identity that can be acted on.

request
The request as it arrived.
error
Why it must be refused, or when it may proceed.

Rückgabe: when the request may be acted on.