dio_io library

IO-only Dio adapter subentrypoint.

Import this only on dart:io platforms. The main package:llm_dart_transport/llm_dart_transport.dart entrypoint stays Web-safe and does not export package:dio/io.dart.

Classes

DioForNative
Implements features for Dio on native platforms.
IOHttpClientAdapter
The default HttpClientAdapter for native platforms.

Typedefs

CreateHttpClient = HttpClient Function()
The signature of IOHttpClientAdapter.createHttpClient. Can be used to provide a custom HttpClient for Dio.
DefaultHttpClientAdapter = IOHttpClientAdapter
OnHttpClientCreate = HttpClient? Function(HttpClient client)
The signature of IOHttpClientAdapter.onHttpClientCreate.
ValidateCertificate = bool Function(X509Certificate? certificate, String host, int port)
The signature of IOHttpClientAdapter.validateCertificate.