A cross-platform async networking library for Rust with HTTP and WebSocket clients, network status monitoring, configurable retries, WebSocket reconnection and heartbeats, and managed client lifecycles. Reuse common networking infrastructure across applications to avoid repeated implementation and debugging, helping save development time and AI coding tokens.
usesuper::LogLevel;usesuper::LogType;/// Structured log record delivered to logging listeners.
#[derive(Debug, Clone)]pubstructLogInfo{/// Structured origin used to route records; never inferred from the tag.
publog_type: LogType,
/// Source file, line and column. Synthetic overflow records use an empty location.
publocation: String,
/// Log severity.
publevel: LogLevel,
/// Operation label, kept exactly as supplied (for example, `start_session`).
/// No origin, SDK prefix or severity suffix is added.
pubtag: String,
/// Log payload, often JSON formatted by the exported log macros.
pubcontent: String,
/// Creation timestamp in Unix milliseconds.
pubcreate_time:i64,
}