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

Method accept

perro_source/api_modules/perro_networking/src/websocket.rs:225–227  ·  view source on GitHub ↗
(stream: TcpStream)

Source from the content-addressed store, hash-verified

223 }
224
225 pub fn accept(stream: TcpStream) -> NetResult<Self> {
226 Self::accept_with_options(stream, WebSocketHostOptions::default())
227 }
228
229 pub fn accept_with_options(
230 stream: TcpStream,

Callers 1

accept_eventMethod · 0.45

Calls 3

spawn_net_blockingFunction · 0.85
cloneMethod · 0.80
kindMethod · 0.80

Tested by

no test coverage detected