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

Method protocol

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

Source from the content-addressed store, hash-verified

140impl WebSocketUpgrade {
141 #[inline]
142 pub fn protocol(&self) -> Option<&RequestSecWebsocketProtocol> {
143 self.requested_protocol.as_ref()
144 }
145
146 /// Select a subprotocol from the ones provided, and prepare a response for the client.
147 pub fn select_protocol<S, P>(

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected