HTTPCacheContentWriter¶
Represents a writer for caching HTTP response content.
Fields:¶
HTTPCache Cache¶
- Gets the parent HTTPCache instance associated with this content writer.
Hash128 Hash¶
- Hash identifying the resource. If Write fails, it becomes an invalid one.
UInt64 ExpectedLength¶
- Expected length of the content. Has a non-zero value only when the server is sending a "content-length" header.
UInt64 ProcessedLength¶
- Number of bytes written to the cache.
LoggingContext Context¶
- Context of this cache writer used for logging.
Methods:¶
Void Write(BufferSegment)¶
- Writes content to the underlying stream.