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

Method send

perro_source/api_modules/perro_networking/src/websocket.rs:162–167  ·  view source on GitHub ↗
(&mut self, message: Message)

Source from the content-addressed store, hash-verified

160 }
161
162 fn send(&mut self, message: Message) -> Result<(), tungstenite::Error> {
163 match self {
164 Self::Client(socket) => socket.send(message),
165 Self::Server(socket) => socket.send(message),
166 }
167 }
168
169 fn close(&mut self, frame: Option<CloseFrame>) -> Result<(), tungstenite::Error> {
170 match self {

Callers 15

requestMethod · 0.80
http_workerFunction · 0.80
send_requestFunction · 0.80
send_textMethod · 0.80
send_binaryMethod · 0.80
send_pingMethod · 0.80
send_pongMethod · 0.80
request_readbackMethod · 0.80
request_readbackMethod · 0.80
render_uv_readbackFunction · 0.80

Calls

no outgoing calls