pingora_core::upstreams

Module peer

Source
Expand description

Defines where to connect to and how to connect to a remote server

Re-exports§

  • pub use crate::protocols::tls::ALPN;

Structs§

  • A simple TCP or TLS peer without many complicated settings.
  • A peer representing the remote HTTP server to connect to
  • The preferences to connect to a remote server
  • The proxy settings to connect to the remote server, CONNECT only for now
  • An object-safe version of Tracing object that can use Clone

Enums§

  • Define whether to connect via http or https

Traits§

  • Peer defines the interface to communicate with the crate::connectors regarding where to connect to and how to connect to it.
  • The interface to trace the connection