Open sandboxFocus

Constructor LegacyHttpCorrelationProtocol

LegacyHttpCorrelationProtocol()

Initializes a new LegacyHttpCorrelationProtocol that trusts all requests.

Declaration
[Obsolete("This constructor may enable security weaknesses. This Use the other constructor and filter trusted requests.")]
public LegacyHttpCorrelationProtocol()

LegacyHttpCorrelationProtocol(Predicate<CorrelationRequest>)

Initializes a new LegacyHttpCorrelationProtocol and specifies a predicate that filters trusted requests.

Declaration
public LegacyHttpCorrelationProtocol(Predicate<CorrelationRequest> isTrustedRequestPredicate)
Parameters
Type Name Description
Predicate<CorrelationRequest> isTrustedRequestPredicate

A predicate that returns true when a request is trusted.