praxis-proxy-core 0.5.6

Configuration, error types, and server factory for Praxis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2024 Praxis Contributors

//! Upstream connectivity types used by the filter pipeline and protocol layer.

mod connection_options;
mod network;
/// Shared [`HttpPeer`] construction helpers for TLS and connection options.
///
/// [`HttpPeer`]: pingora_core::upstreams::peer::HttpPeer
pub mod peer;
mod target;
mod upstream;

pub use connection_options::ConnectionOptions;
pub use network::{CidrRange, is_private_ip, normalize_mapped_ipv4};
pub use target::{InvalidTarget, PreparedSubrequest, PreparedTarget, UrlTargetError, prepare_url_target};
pub use upstream::Upstream;