[vibe.d] Proper use of preWriteCallback

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 22 07:09:40 PDT 2014


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!


More information about the Digitalmars-d-learn mailing list