io library

Jetleaf IO sub-library

This sub-library provides the dart:io–based implementations for the jetleaf_web package.

Importing package:jetleaf_web/io.dart exposes server- and client-side IO integrations, including HTTP request and response adapters, multipart parsing, encoding decoders, and web server bootstrapping built on dart:io.

This library also includes IO-backed REST client implementations corresponding to the abstractions defined in the REST sub-library.

Certain low-level stream types are intentionally hidden to keep the public API stable and focused.

Classes

AbstractMultipartParser
Abstract base class for parsing multipart HTTP requests with support for disk-backed file storage.
DefaultRestClient
The central entry point for building and executing HTTP-based REST operations.
DefaultRestExecutor
A low-level HTTP client implementation for the JetLeaf REST framework that provides a configurable and extensible bridge to Dart’s HttpClient.
FilePart
Implementation of the Part interface representing a file uploaded in a multipart/form-data request.
IoEncodingDecoder
A pluggable, multi-encoding decoder that supports dynamic registration of custom EncodingDecoder implementations while providing a fallback EncodingDecoder for unsupported encodings.
IoMultipartFile
Represents a single uploaded file in a multipart HTTP request.
IoMultipartRequest
Represents a multipart HTTP request, providing access to uploaded files and form-data parts in a type-safe and memory-aware manner.
IoMultipartResolver
A concrete implementation of MultipartResolver for handling multipart/form-data HTTP requests in an I/O-based server environment.
IoPart
Default implementation of the Part interface, representing a single part of a multipart/form-data request.
IoRequest
Represents a concrete implementation of ServerHttpRequest that wraps a Dart dart:io io.HttpRequest.
IoResponse
Represents an HTTP response within the JetLeaf I/O framework, providing a bridge between the high-level ServerHttpResponse abstraction and the underlying dart:io io.HttpResponse.
IoRestHttpRequest
A low-level HTTP request implementation used internally by IoClient to perform outbound REST calls using Dart’s `HttpClientRequest`.
IoRestHttpResponse
A low-level HTTP response wrapper used by IoRestHttpRequest to expose JetLeaf's standardized RestHttpResponse interface over Dart's native HttpClientResponse.
IoWebServer
A platform-level implementation of ConfigurableWebServer backed by Dart’s native HttpServer.
IoWebServerFactory
A concrete factory that produces IoWebServer instances for JetLeaf applications.
IoWebServerSecurityContextFactory
A factory interface responsible for creating and configuring a SecurityContext for an HTTPS-enabled JetLeaf IO web server.
MultipartParser
Abstract base class for parsing multipart HTTP requests and handling file uploads.
RestConfig
Provides configuration options for low-level I/O client behavior used by IoClient within the JetLeaf networking stack.