Struct naia_socket_shared::SocketConfig
source · pub struct SocketConfig {
pub link_condition: Option<LinkConditionerConfig>,
pub rtc_endpoint_path: String,
}Expand description
Contains Config properties which will be shared by Server and Client sockets
Fields§
§link_condition: Option<LinkConditionerConfig>Configuration used to simulate network conditions
rtc_endpoint_path: StringThe endpoint URL path to use for initiating new WebRTC sessions
Implementations§
source§impl SocketConfig
impl SocketConfig
Trait Implementations§
source§impl Clone for SocketConfig
impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more