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

Method callbackCallerPluginID

internal/pluginhost/host_callbacks.go:135–140  ·  view source on GitHub ↗
(ctx context.Context, callbackID string)

Source from the content-addressed store, hash-verified

133}
134
135func (h *Host) callbackCallerPluginID(ctx context.Context, callbackID string) string {
136 if pluginID := hostCallbackPluginIDFromContext(ctx); pluginID != "" {
137 return pluginID
138 }
139 return h.callbackContextPluginID(callbackID)
140}
141
142func (h *Host) callHostHTTPDo(ctx context.Context, request []byte) ([]byte, error) {
143 httpReq, callbackID, errDecode := decodeHostHTTPRequestWithCallbackID(request)

Callers 2

callHostModelExecuteMethod · 0.95

Calls 2

Tested by

no test coverage detected