MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / ignore_protocol

Method ignore_protocol

crates/client-api/src/util/websocket.rs:165–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163 /// Prepare a response with no subprotocol selected.
164 #[inline]
165 pub fn ignore_protocol(self) -> (WebSocketResponse, PendingWebSocket) {
166 self.into_response(None)
167 }
168
169 /// Prepare a response with the given subprotocol.
170 #[inline]

Callers

nothing calls this directly

Calls 1

into_responseMethod · 0.45

Tested by

no test coverage detected