Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
TransferEncoding property
Determines encoding of response body.
Type
TransferEncodingsEnum enumerationSyntax
- Basic
object.TransferEncoding [= value]
The TransferEncoding(object,value) syntax has these parts:
The TransferEncoding(object,value) syntax has these parts:
object | An expression evaluating to an object of type WebResponse |
value | TransferEncodingsEnum enumeration |
Remarks
TransferEncoding property defines if wodWebServer will return response as 'chunked' or in plaintext 'as is' format. 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.
wodWebServer will choose appropriate encoding for the response, but you can force it through this property if you need to. If you plan to use SendChunk method - you must set this property to ChunkedEncoding.