HttpRequest.method
property · packages/agent-mcp/src/http.ts:16
readonly method: stringAgent / foldkit-agent-mcp
interface · packages/agent-mcp/src/http.ts:15
interface HttpRequest {
readonly method: string
readonly headers: Readonly<Record<string, string | undefined>>
readonly body?: unknown
}A transport-neutral request, so this can sit behind any HTTP server.
HttpRequest.methodproperty · packages/agent-mcp/src/http.ts:16
readonly method: stringHttpRequest.headersproperty · packages/agent-mcp/src/http.ts:18
readonly headers: Readonly<Record<string, string | undefined>>Header names lowercased.
HttpRequest.bodyproperty · packages/agent-mcp/src/http.ts:20
readonly body?: unknownThe parsed JSON body, for POST, or UNPARSEABLE_BODY if it was not JSON.