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

Method encode

crates/client-api/src/util/websocket.rs:30–32  ·  view source on GitHub ↗
(&self, values: &mut E)

Source from the content-addressed store, hash-verified

28 Ok(Self(values.collect()))
29 }
30 fn encode<E: Extend<HeaderValue>>(&self, values: &mut E) {
31 values.extend([self.0.value.clone()])
32 }
33}
34
35impl RequestSecWebsocketProtocol {

Callers

nothing calls this directly

Calls 2

extendMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected