shouldPropagateRequestId

open fun shouldPropagateRequestId(method: HttpMethod, path: String): Boolean

Determines whether to propagate the request ID in the request. Can be overridden to customize behavior based on method and path. By default, it returns true for all requests.

Return

True if the request ID should be propagated, false otherwise.

Parameters

method

The HTTP method of the request.

path

The path of the request.