HttpContentStream class

StreamingRequest 的流集合中包含的附件,该集合本身包含任何形式的媒体项。

构造函数

HttpContentStream(HttpContent)

初始化 HttpContentStream 类的新实例。

属性

content
description
id

构造函数详细信息

HttpContentStream(HttpContent)

初始化 HttpContentStream 类的新实例。

new HttpContentStream(content: HttpContent)

参数

属性详细信息

content

content: HttpContent

属性值

description

description: { id: string, length: number, type: string }

属性值

{ id: string, length: number, type: string }

id

id: string

属性值

string