Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object PortalLogger
Link copied to clipboard
Link copied to clipboard
open class PortalRequests(onUnauthorized: () -> Unit? = null, connectTimeoutMs: Int = DEFAULT_CONNECT_TIMEOUT_MS, readTimeoutMs: Int = DEFAULT_READ_TIMEOUT_MS)
Coroutine-based HTTP transport used by every API class in the SDK.
Properties
Functions
Link copied to clipboard
Generates a UUID v4 trace ID for request correlation.
Link copied to clipboard
Returns true when headers already contains a non-blank Portal trace header (case-insensitive).
Link copied to clipboard
Returns true when url targets a Portal-owned host (or a local Portal API).
Link copied to clipboard
Returns traceId when it is non-blank, otherwise generates a fresh UUID.
Link copied to clipboard
Returns the first non-blank value for the Portal trace header (case-insensitive key lookup). When multiple case-variant keys exist, blank entries are skipped.