StreamProtocolResponse 对象

StreamProtocolResponse 对象

  • statusCode Number (optional) - The HTTP response code.

  • headers Record (optional) - An object containing the response headers.

  • data ReadableStream | null - A Node.js readable stream representing the response body.