UnsafeOkHttpClient

Provides an OkHttpClient.Builder that bypasses SSL certificate validation.

Use this only in non-production environments (e.g., when the base URL uses plain HTTP or a self-signed certificate). Never use in production as it disables all SSL security checks.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val unsafeOkHttpClient: ERROR CLASS: Symbol not found for OkHttpClient.Builder

An OkHttpClient.Builder configured to trust all SSL certificates without validation.