struct apr_hdtr_t

Overview

A structure to encapsulate headers and trailers for apr_socket_sendfile Moreā€¦

#include <apr_network_io.h>

struct apr_hdtr_t {
    // fields

    struct iovec* headers;
    int numheaders;
    struct iovec* trailers;
    int numtrailers;
};

Detailed Documentation

A structure to encapsulate headers and trailers for apr_socket_sendfile

Fields

struct iovec* headers

An iovec to store the headers sent before the file.

int numheaders

number of headers in the iovec

struct iovec* trailers

An iovec to store the trailers sent after the file.

int numtrailers

number of trailers in the iovec