Agent / foldkit-agent-mcp

HttpResponse

interface · packages/agent-mcp/src/http.ts:48

interface HttpResponse {
  readonly status: number
  readonly headers: Readonly<Record<string, string>>
  readonly body?: unknown
  readonly stream?: SseStream
}

Members

HttpResponse.status

property · packages/agent-mcp/src/http.ts:49

readonly status: number

HttpResponse.headers

property · packages/agent-mcp/src/http.ts:50

readonly headers: Readonly<Record<string, string>>

HttpResponse.body

property · packages/agent-mcp/src/http.ts:51

readonly body?: unknown

HttpResponse.stream

property · packages/agent-mcp/src/http.ts:53

readonly stream?: SseStream

Present when the response is an SSE stream rather than a JSON body.