MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_bus

Method with_bus

crates/opencode-mcp/src/client.rs:162–165  ·  view source on GitHub ↗
(mut self, bus: Arc<Bus>)

Source from the content-addressed store, hash-verified

160 }
161
162 pub fn with_bus(mut self, bus: Arc<Bus>) -> Self {
163 self.bus = Some(bus);
164 self
165 }
166
167 /// Attach an OAuth manager for token-based auth on HTTP/SSE transports.
168 pub async fn set_oauth_manager(&self, manager: Arc<McpOAuthManager>) {

Callers 4

add_stdioMethod · 0.45
add_httpMethod · 0.45
add_sseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected