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

Method from_pong

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

Source from the content-addressed store, hash-verified

146 #[staticmethod]
147 #[pyo3(signature = (data))]
148 pub fn from_pong(data: PyBackedBytes) -> Self {
149 let msg = wreq::Message::pong(Bytes::from_owner(data));
150 Message(msg)
151 }
152
153 /// Creates a new close message.
154 #[staticmethod]

Callers

nothing calls this directly

Calls 1

MessageClass · 0.85

Tested by

no test coverage detected