pub struct ProxyClientConfig {
pub proxy_url: String,
}Expand description
Configuration for creating a proxy client.
§Examples
use ap_proxy_client::ProxyClientConfig;
let config = ProxyClientConfig {
proxy_url: "ws://localhost:8080".to_string(),
};Fields§
§proxy_url: StringWebSocket URL of the proxy server.
Format: ws://host:port or wss://host:port for TLS.
§Examples
"ws://localhost:8080"- Local development"wss://proxy.example.com:443"- Production with TLS
Auto Trait Implementations§
impl Freeze for ProxyClientConfig
impl RefUnwindSafe for ProxyClientConfig
impl Send for ProxyClientConfig
impl Sync for ProxyClientConfig
impl Unpin for ProxyClientConfig
impl UnsafeUnpin for ProxyClientConfig
impl UnwindSafe for ProxyClientConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more