class MultipartSection
cangjie
public class MultipartSection功能:表示一个 multipart 分段。
成员概览
| 成员 | 功能 |
|---|---|
| let body | 表示当前分段的正文流。 |
| let headers | 表示当前分段的头集合。 |
| let baseStreamOffset | 返回当前分段在底层流中的起始偏移。 |
| prop contentType | 返回当前分段的 Content-Type 标头值。 |
| prop contentDisposition | 返回当前分段的 Content-Disposition 标头值。 |
let body
cangjie
public let body: MultipartReaderStream功能:表示当前分段的正文流。
let headers
cangjie
public let headers: HashMap<String, StringValues>功能:表示当前分段的头集合。
类型:HashMap<String, StringValues>
let baseStreamOffset
cangjie
public let baseStreamOffset: ?Int64功能:返回当前分段在底层流中的起始偏移。
类型:?Int64
prop contentType
cangjie
public prop contentType: ?String功能:返回当前分段的 Content-Type 标头值。
类型:?String
prop contentDisposition
cangjie
public prop contentDisposition: ?String功能:返回当前分段的 Content-Disposition 标头值。
类型:?String