August 22, 2014 [vibe.d] Proper use of preWriteCallback | ||||
---|---|---|---|---|
| ||||
Maybe a trivial question: How do I use "preWriteCallback" properly? It doesn't work properly for me yet (I might not see the forest for the trees at the moment). I am trying to set a field in the HTTPServerResponse. http://vibed.org/api/vibe.http.fileserver/HTTPFileServerSettings.preWriteCallback |
August 22, 2014 Re: [vibe.d] Proper use of preWriteCallback | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris | On Friday, 22 August 2014 at 13:58:02 UTC, Chris wrote:
> Maybe a trivial question: How do I use "preWriteCallback" properly? It doesn't work properly for me yet (I might not see the forest for the trees at the moment). I am trying to set a field in the HTTPServerResponse.
>
> http://vibed.org/api/vibe.http.fileserver/HTTPFileServerSettings.preWriteCallback
Just got it working, sorry! I overlooked the toDelegate(&myDelegate) function. Mea maxima culpa!
|
Copyright © 1999-2021 by the D Language Foundation