Enum sozu_lib::network::proxy::HttpsProvider [−][src]
pub enum HttpsProvider {
Rustls(ServerConfiguration),
}Variants
Rustls(ServerConfiguration)
Methods
impl HttpsProvider[src]
impl HttpsProviderpub fn new(
config: HttpsProxyConfiguration,
event_loop: &mut Poll,
pool: Rc<RefCell<Pool<BufferQueue>>>,
tcp_listener: Option<TcpListener>,
token: Token
) -> Result<(HttpsProvider, HashSet<Token>)>[src]
pub fn new(
config: HttpsProxyConfiguration,
event_loop: &mut Poll,
pool: Rc<RefCell<Pool<BufferQueue>>>,
tcp_listener: Option<TcpListener>,
token: Token
) -> Result<(HttpsProvider, HashSet<Token>)>pub fn notify(
&mut self,
event_loop: &mut Poll,
message: OrderMessage
) -> OrderMessageAnswer[src]
pub fn notify(
&mut self,
event_loop: &mut Poll,
message: OrderMessage
) -> OrderMessageAnswerpub fn give_back_listener(&mut self) -> Option<TcpListener>[src]
pub fn give_back_listener(&mut self) -> Option<TcpListener>pub fn accept(
&mut self,
token: ListenToken,
poll: &mut Poll,
client_token: Token
) -> Result<(Rc<RefCell<TlsClient>>, bool), AcceptError>[src]
pub fn accept(
&mut self,
token: ListenToken,
poll: &mut Poll,
client_token: Token
) -> Result<(Rc<RefCell<TlsClient>>, bool), AcceptError>pub fn close_backend(&mut self, app_id: AppId, addr: &SocketAddr)[src]
pub fn close_backend(&mut self, app_id: AppId, addr: &SocketAddr)pub fn accept_flush(&mut self) -> usize[src]
pub fn accept_flush(&mut self) -> usizepub fn connect_to_backend(
&mut self,
poll: &mut Poll,
proxy_client: Rc<RefCell<ProxyClientCast>>,
back_token: Token
) -> Result<BackendConnectAction, ConnectionError>[src]
pub fn connect_to_backend(
&mut self,
poll: &mut Poll,
proxy_client: Rc<RefCell<ProxyClientCast>>,
back_token: Token
) -> Result<BackendConnectAction, ConnectionError>Auto Trait Implementations
impl !Send for HttpsProvider
impl !Send for HttpsProviderimpl !Sync for HttpsProvider
impl !Sync for HttpsProvider