1 Struct N_HTTP_STREAM
gullradriel edited this page 2026-11-01 16:37:14 +01:00

N_HTTP_STREAM

a streamed body being written More...

Public Attributes

Name
n_http_write_fn fn
the write function
int failed
a write failed
void * ctx
passed to fn
int chunked
frame the pieces as chunks
void(*)(void *ctx) before_piece
called before each piece, or NULL

Detailed Description

struct N_HTTP_STREAM;

a streamed body being written

a streamed body being written (opaque), see n_http_stream_write()

Public Attributes Documentation

variable fn

n_http_write_fn fn;

the write function

variable failed

int failed;

a write failed

variable ctx

void * ctx;

passed to fn

variable chunked

int chunked;

frame the pieces as chunks

variable before_piece

void(*)(void *ctx) before_piece;

called before each piece, or NULL