MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / openSpiteStream

Method openSpiteStream

internal/bridge/bridge.go:210–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208}
209
210func (b *Bridge) openSpiteStream() error {
211 stream, err := b.rpc.SpiteStream(b.pipelineContext())
212 if err != nil {
213 return err
214 }
215 b.spiteStream = stream
216 return nil
217}
218
219// listenerContext returns a gRPC context with listener_id metadata.
220func (b *Bridge) listenerContext() context.Context {

Callers 3

StartMethod · 0.95
reconnectSpiteStreamMethod · 0.95
restoreBridgeStateMethod · 0.95

Calls 2

pipelineContextMethod · 0.95
SpiteStreamMethod · 0.80

Tested by

no test coverage detected