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

Method InterceptStreamChunk

sdk/pluginapi/types.go:939–939  ·  view source on GitHub ↗
(context.Context, StreamChunkInterceptRequest)

Source from the content-addressed store, hash-verified

937// StreamChunkInterceptor rewrites successful stream chunks before downstream delivery.
938type StreamChunkInterceptor interface {
939 InterceptStreamChunk(context.Context, StreamChunkInterceptRequest) (StreamChunkInterceptResponse, error)
940}
941
942// StreamChunkHeaderInitIndex marks the header-only stream initialization interceptor call.

Implementers 8

Hostinternal/pluginhost/host.go
rpcPluginAdapterinternal/pluginhost/rpc_client.go
responseInterceptorFuncinternal/pluginhost/test_helpers_test.
modelExecutionSkipHostsdk/api/handlers/model_execution_test.
handlerModelRouterTestHostsdk/api/handlers/handlers_model_router
handlerDirectExecutorInterceptorHostsdk/api/handlers/handlers_model_router
handlerInterceptorTestHostsdk/api/handlers/handlers_interceptors
compileTimePluginsdk/pluginapi/types_test.go

Calls

no outgoing calls