aria2-core 0.3.1

aria2-rust core download engine: multi-protocol segmented downloads, rate limiting, configuration, session persistence, and BitTorrent seeding
Documentation
pub mod auth;
pub mod auth_challenge_handler;
pub(crate) mod client_identity;
pub mod client_pool;
pub mod conditional_get;
pub mod connection;
pub mod content_disposition;
pub mod cookie;
pub mod cookie_storage;
pub mod digest_auth;
pub mod happy_eyeballs;
pub mod header_processor;
pub mod metalink_http;
pub mod ns_cookie_parser;
pub mod proxy;
pub mod proxy_tunnel;
pub mod request;
pub mod request_policy;
pub mod request_response;
pub mod response;
pub mod response_processor;
pub mod skip_response;
pub mod socks_connector;
pub mod splice_http;
pub mod sqlite_cookie_parser;
pub mod stream_filter;
pub mod tail_reclaim;

#[cfg(test)]
mod auth_tests;
#[cfg(test)]
mod connection_tests;
#[cfg(test)]
mod request_tests;
#[cfg(test)]
mod stream_filter_tests;

// Re-export streaming header processor types
pub use header_processor::{HttpHeaderParseState, HttpHeaderProcessor, HttpResponseHead};

// Re-export Metalink/HTTP parser types for convenient access
pub use metalink_http::{
    MetalinkHttpDigest, MetalinkHttpLink, MetalinkHttpParser, MetalinkHttpResult,
};

// Re-export key types from proxy_tunnel for convenient access
pub use proxy_tunnel::{
    HttpProxyTunnelConfig, HttpProxyTunnelResult, HttpProxyType, establish_http_proxy_tunnel,
};

// Re-export key types from proxy module for convenient access
pub use proxy::{
    HttpProxyConfig, HttpProxyForward, HttpProxyTunnel as HttpConnectProxyTunnel, ProxyResponse,
    ProxyType,
};

// Re-export key types from skip_response for convenient access
pub use skip_response::{
    AuthScheme, HttpAuthChallenge, HttpRedirectInfo, HttpSkipResponseHandler, MAX_REDIRECT_COUNT,
    RedirectType, SkipResponseResult,
};

// Re-export key types from auth module for convenient access
pub use auth::{
    AuthConfig, AuthConfigFactory, AuthResolveOptions, BasicCred, NetrcEntry, NetrcStore,
    erase_confidential_info,
};

// Re-export netrc parser types for direct access
pub use auth::netrc::{NetrcEntry as NetrcParserEntry, NetrcError, NetrcParser, find_netrc_file};

pub use request_policy::HttpRequestPolicy;

// Re-export response processor types for convenient access
pub use response_processor::{
    HttpResponseProcessor, ResponseProcessResult, ResponseProcessorConfig, ValidateRequestContext,
    determine_filename, should_inflate_content_encoding, supports_persistent_connection,
    validate_response, validate_response_range,
};

// Re-export auth challenge handler types for convenient access
pub use auth_challenge_handler::{AuthChallengeResult, handle_auth_challenge};