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

Method from_binary

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

Source from the content-addressed store, hash-verified

130 #[staticmethod]
131 #[pyo3(signature = (data))]
132 pub fn from_binary(data: PyBackedBytes) -> Self {
133 let msg = wreq::Message::binary(Bytes::from_owner(data));
134 Message(msg)
135 }
136
137 /// Creates a new ping message.
138 #[staticmethod]

Callers

nothing calls this directly

Calls 1

MessageClass · 0.85

Tested by

no test coverage detected