Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
This example will read a message header from the stream, and then manually read each chunk. It recognizes the chunk boundaries and outputs the contents of each chunk as it comes in. Any chunk extensions are printed, each extension on its own line. Finally, any trailers promised in the header are printed.本示例将从流中读取消息头部,然后手动读取每个分块。示例能够识别分块边界,并在分块到达时输出其内容。所有分块扩展都会被打印,每个扩展单独占一行。最后,还会打印头部中承诺的尾部字段。