# Module clients/ep/baseClient

#### Fileoverview

Base European Parliament API Client

Shared HTTP infrastructure for all EP API sub-clients: LRU caching, token-bucket rate limiting, timeout/retry logic, and structured audit/performance instrumentation.

ISMS Policies:

- SC-002 (Secure Coding Standards)
- PE-001 (Performance Standards)
- AU-002 (Audit Logging and Monitoring)
- DP-001 (Data Protection and GDPR Compliance)

#### See

https://github.com/Hack23/ISMS-PUBLIC/blob/main/Secure_Development_Policy.md

## Classes

APIError
BaseEPClient

## Interfaces

EPClientConfig
EPSharedResources
JSONLDResponse

## Variables

DEFAULT_CACHE_TTL_MS
DEFAULT_EP_API_BASE_URL
DEFAULT_MAX_CACHE_SIZE
DEFAULT_MAX_RESPONSE_BYTES
DEFAULT_MAX_RETRIES
DEFAULT_RATE_LIMIT_INTERVAL
DEFAULT_RATE_LIMIT_TOKENS
DEFAULT_REQUEST_TIMEOUT_MS
DEFAULT_RETRY_BASE_DELAY_MS
DEFAULT_RETRY_ENABLED
DEFAULT_RETRY_MAX_DELAY_MS

## Functions

validateApiUrl