MCPcopy Create free account
hub / github.com/PerroEngine/Perro / websocket_host

Method websocket_host

perro_source/api_modules/perro_networking/src/world.rs:531–533  ·  view source on GitHub ↗
(&self, id: WebSocketHostId)

Source from the content-addressed store, hash-verified

529
530 fn tcp_connection_mut(&mut self, id: TcpConnectionId) -> NetResult<&mut TcpConnection> {
531 get_slot_mut(&mut self.tcp_connections, id.0, "tcp connection")
532 }
533
534 fn udp_endpoint(&self, id: UdpEndpointId) -> NetResult<&UdpEndpoint> {
535 get_slot(&self.udp_endpoints, id.0, "udp endpoint")
536 }

Callers 1

websocket_host_addrMethod · 0.80

Calls 1

get_slotFunction · 0.85

Tested by

no test coverage detected