Skip to content

DefNet 3.0

Compare
Choose a tag to compare
@britzl britzl released this 15 Mar 22:12
· 54 commits to master since this release

NEW: Added support for chunked transfer encoding in the HTTP Server.

CHANGE: The routing functions in the HTTP server will now receive any matches as an indexed array instead of unpacked to individual arguments.
CHANGE: The routing functions in the HTTP server can will now receive a stream callback function as it's second argument. This function can be used instead of returning a string.
CHANGE: The routing functions in the HTTP server can now return a function instead of a string. If a function is returned it will be called repeatedly over time to get more data to send as a response. This is typically used for chunked transfers.