body


Description:

[ Version ( since = "0.2" ) ]
public virtual OutputStream body { get; }

Response body.

The provided stream is safe for transfer encoding and will filter the stream properly if it's chunked.

Typically, this would involve appling chunked encoding, buffering, transparent compression and other kind of filters required by the implementation.

For CGI-ish protocols, the server will generally deal with transfer encoding automatically, so the default implementation is to simply return the base_stream.




2022 vala-language.org