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

Function recordFromHeaders

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

Source from the content-addressed store, hash-verified

92 headers ? new Headers(headers) : new Headers();
93
94const recordFromHeaders = (headers: Headers): Record<string, string> =>
95 Object.fromEntries(headers.entries());
96
97const ExternalTransportCause = Schema.Struct({
98 code: Schema.optional(Schema.String),

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected