monkey¶
Helper moduel for calling gevent
monkey patch functions.
This only need to if want to make stdlib gevent cooperative.
The patches need to be applied before any other module imports.
See gevent.monkey
for details
import steam.monkey
steam.monkey.patch_minimal()
import requests
from steam.client import SteamClient, EMsg
-
steam.monkey.
patch_minimal
()¶ This method needs to be called before any other imports
It calls
gevent.monkey.patch_socket()
andgevent.monkey.patch_ssl()