MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / state_pre_connect

Method state_pre_connect

src/network/socks5.py:153–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 return True
152
153 def state_pre_connect(self):
154 try:
155 return Socks5.state_pre_connect(self)
156 except Socks5Error as e:
157 self.close_reason = e.message
158 self.set_state("close")
159
160
161class Socks5Resolver(Socks5):

Callers

nothing calls this directly

Calls 2

set_stateMethod · 0.80
state_pre_connectMethod · 0.45

Tested by

no test coverage detected