digitalmars.D.learn - [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
Aug 22 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.preWriteCallbackJust got it working, sorry! I overlooked the toDelegate(&myDelegate) function. Mea maxima culpa!
Aug 22 2014