private void AuthEndpointCheck() { if (_options.Authorizer == null) { var pusherException = new PusherException("You must set a ChannelAuthorizer property to use private or presence channels", ErrorCodes.ChannelAuthorizerNotSet); RaiseError(pusherException); throw pusherException; } }
private void RaiseError(PusherException error) { Error?.Invoke(this, error); }
void IPusher.ErrorOccured(PusherException pusherException) { RaiseError(pusherException); }
private void RaiseError(PusherException error) { _pusher.ErrorOccured(error); }