These are chat archives for akkadotnet/akka.net
AroundReceivemethod of an actor - it's a hook, that gets called before
Receiveitself will occur
actorRef.Tell(new Authenticate(credentials, actualMessage))and then unwrap and authorize it in
AroundReceive- if auth fails, send back authentication failure. If it passes - unwrap the nested message and send in to actual receive message.
Authenticateto be send with tell, but on the actor side it's actually transparent