MCPcopy Index your code
hub / github.com/websocket-client/websocket-client / getdefaulttimeout

Function getdefaulttimeout

websocket/_socket.py:81–90  ·  view source on GitHub ↗

Get default timeout Returns ---------- _default_timeout: int or float Return the global timeout setting (in seconds) to connect.

()

Source from the content-addressed store, hash-verified

79
80
81def getdefaulttimeout() -> Optional[Union[int, float]]:
82 """
83 Get default timeout
84
85 Returns
86 ----------
87 _default_timeout: int or float
88 Return the global timeout setting (in seconds) to connect.
89 """
90 return _default_timeout
91
92
93def recv(sock: socket.socket, bufsize: int) -> bytes:

Callers 2

create_connectionFunction · 0.85
initialize_socketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…