Skip to main content

PgWapSessionManager

Trait PgWapSessionManager 

Source
pub trait PgWapSessionManager: Send + Sync {
    // Required method
    fn new_session(
        &self,
        client_ip: IpAddr,
        target_domains: &[&str],
    ) -> Result<Session, Error>;
}
Expand description

PathGuard WAP session manager.

Required Methods§

Source

fn new_session( &self, client_ip: IpAddr, target_domains: &[&str], ) -> Result<Session, Error>

Create a new session for the given client IP address.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§