Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_event
Method · 0.45
Calls
3
spawn_net_blocking
Function · 0.85
clone
Method · 0.80
kind
Method · 0.80
Tested by
no test coverage detected