write_to_stream


Description:

public ssize_t write_to_stream (FormatOptions? options, Stream stream)

Write the headers to a stream.

Parameters:

this

a HeaderList

options

a FormatOptions or null

stream

output stream

Returns:

the number of bytes written or %-1 on fail.