Back to product page

TransferEncodingsEnum Enumeration


This enumeration defines if wodWebServer will return response as 'chunked' or in plaintext 'as is' format.

Remarks

Typically, when you plan to change content on the fly, chunked encoding is used, since response headers (that are sent before response body) need to contain length of the data that is returned. If it is known, wodWebServer uses no encoding. If it is not known, chunked encoding is used.

You can force chunked encoding using this enumeration. Set it to User.Response.TransferEncoding property.

Possible values for TransferEncodingsEnum:

Constant Value Description
NoEncoding 0 No encoding is used to send response body.
ChunkedEncoding 1 Response is sent in series of chunks.

Platforms

Windows