MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / recordFromHeaders

Function recordFromHeaders

packages/plugins/mcp/src/sdk/connection.ts:90–91  ·  view source on GitHub ↗
(headers: Headers)

Source from the content-addressed store, hash-verified

88 headers ? new Headers(headers) : new Headers();
89
90const recordFromHeaders = (headers: Headers): Record<string, string> =>
91 Object.fromEntries(headers.entries());
92
93const ExternalTransportCause = Schema.Struct({
94 code: Schema.optional(Schema.String),

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected