-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to obtain clientAddress? #50
Comments
Should work the same way inside the 'run' method - can you post some code? |
export const logMessage = new ValidatedMethod({ |
Weird, that should work. Let me add a test to make sure - will do today. |
Thanks |
Was there a resolution to this problem? I have a method that works fine normally, but the this.connection is undefined. Thanks so much!
|
@CaptainChemist @VenelinPetkov
You will loose Latency Compensation but i guess it's not important in your case. Cheers |
Hmm, any way to fix this? Seems like there's no way to get clientAddress on the client at all, so maybe there's nothing we can do about it. |
In the basic methods definitions you can fetch the client connection details via simple this.connection....
How to fetch the clientAddress when using the ValidatedMethod wrapper?
Regards,
Venelin
The text was updated successfully, but these errors were encountered: