mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: Implement chunked encoding transfer (#8179)
This commit is contained in:
@@ -31,6 +31,7 @@ pub fn (mut app App) index() vweb.Result {
|
||||
// app.text('Hello world from vweb')
|
||||
hello := 'Hello world from vweb'
|
||||
numbers := [1, 2, 3]
|
||||
app.enable_chunked_transfer(40)
|
||||
return $vweb.html()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user