nanofish 0.11.3

🐟 A lightweight, `no_std` HTTP client and server for embedded systems built on top of Embassy networking.
Documentation
#![cfg_attr(not(test), no_std)]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]

/// Logging macros
pub(crate) mod fmt;

/// HTTP client implementation and request logic.
pub mod client;
/// Error types for HTTP operations.
pub mod error;
/// HTTP request handlers and traits.
pub mod handler;
/// HTTP header types and helpers.
pub mod header;
/// HTTP method enum and helpers.
pub mod method;
/// HTTP client configuration options.
pub mod options;
/// HTTP request types and parsing.
pub mod request;
/// HTTP response types and body handling.
pub mod response;
/// HTTP server implementation.
pub mod server;
/// Predefined HTTP status codes as per RFC 2616.
pub mod status_code;

pub use client::{DefaultHttpClient, HttpClient, SmallHttpClient};
pub use error::Error;
pub use handler::{HttpHandler, SimpleHandler};
pub use header::{HttpHeader, headers, mime_types};
pub use method::HttpMethod;
pub use options::HttpClientOptions;
pub use request::HttpRequest;
pub use response::{HttpResponse, ResponseBody};
pub use server::{DefaultHttpServer, HttpServer, ServerTimeouts, SmallHttpServer};
pub use status_code::StatusCode;