digitalmars.D.learn - how does vibe's PrivateAccessProxy work
- yawniek (7/7) Aug 30 2015 can someone explain a bit how the @before hooks works in detail,
- Gary Willoughby (3/10) Aug 31 2015 You may be better off asking this on the vibe.d forum:
can someone explain a bit how the before hooks works in detail, i mainly have problems understanding why ensureAuth in belows example refers to "SampleService." as an instance: https://github.com/rejectedsoftware/vibe.d/blob/a1efc05c09135ca8aca21ccec72790ddfaca67c9/examples/web/source/app.d#L114 so how does PrivateAccessProxy work: https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/internal/meta/funcattr.d#L225
Aug 30 2015
On Monday, 31 August 2015 at 01:56:05 UTC, yawniek wrote:can someone explain a bit how the before hooks works in detail, i mainly have problems understanding why ensureAuth in belows example refers to "SampleService." as an instance: https://github.com/rejectedsoftware/vibe.d/blob/a1efc05c09135ca8aca21ccec72790ddfaca67c9/examples/web/source/app.d#L114 so how does PrivateAccessProxy work: https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/internal/meta/funcattr.d#L225You may be better off asking this on the vibe.d forum: http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/
Aug 31 2015