Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

Add asynchronous support #94

Closed 5IGI0 closed 4 years ago

5IGI0 commented 4 years ago

i'm back ^^

asynchronous DNS resolving and asynchronous query isn't implemented for now, otherwise everything is done!

5IGI0 commented 4 years ago

i wanted to add a test to check that the reader functions are asynchronous, but the dir() function does not return the attributes of the class '-'

image image

kevinkjt2000 commented 4 years ago

That's a test that I wouldn't have even thought of, very nice! Did you peek at dir(TCPAsyncSocketConnection)?

5IGI0 commented 4 years ago

That's a test that I wouldn't have even thought of, very nice! Did you peek at dir(TCPAsyncSocketConnection)?7

already tried, it doesin't work ;'c but i can try to create an list of attributes outside the function

5IGI0 commented 4 years ago

i'm just the dumbest guy on earth, i named the test class with the same name that the connection class