|
KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
|
Compressed streaming handle. More...
#include <compress.h>

Data Fields | |
| KlCompress * | comp |
| KlWriteFn | write_fn |
| void * | write_ctx |
| KlResponse * | res |
| KlAllocator * | alloc |
| int | error |
Compressed streaming handle.
Wraps a chunked streaming response with compression. Like KlSse, this is a caller-owned struct initialized by kl_compress_stream_begin.
| KlCompress* KlCompressStream::comp |
Compression session (owned)
| KlWriteFn KlCompressStream::write_fn |
Underlying chunked stream write
| void* KlCompressStream::write_ctx |
Underlying chunked stream context
| KlResponse* KlCompressStream::res |
Response (for end_stream)
| KlAllocator* KlCompressStream::alloc |
For destroying comp
| int KlCompressStream::error |
Sticky error flag