MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / from_ping

Method from_ping

src/client/async_impl/response/ws/message.rs:140–143  ·  view source on GitHub ↗
(data: PyBackedBytes)

Source from the content-addressed store, hash-verified

138 #[staticmethod]
139 #[pyo3(signature = (data))]
140 pub fn from_ping(data: PyBackedBytes) -> Self {
141 let msg = wreq::Message::ping(Bytes::from_owner(data));
142 Message(msg)
143 }
144
145 /// Creates a new pong message.
146 #[staticmethod]

Callers

nothing calls this directly

Calls 1

MessageClass · 0.85

Tested by

no test coverage detected