MCPcopy Index your code
hub / github.com/python-websockets/websockets / shutdown

Method shutdown

tests/sync/connection.py:105–109  ·  view source on GitHub ↗
(self, how)

Source from the content-addressed store, hash-verified

103 self.socket.sendall(bytes, flags)
104
105 def shutdown(self, how):
106 if self.delay_shutdown is not None:
107 time.sleep(self.delay_shutdown)
108 if not self.drop_shutdown:
109 self.socket.shutdown(how)

Callers 8

run_proxyMethod · 0.45
close_connectionMethod · 0.45
test_junk_handshakeMethod · 0.45
run_server_or_routerFunction · 0.45
test_shutdownMethod · 0.45

Calls

no outgoing calls

Tested by 5

close_connectionMethod · 0.36
test_junk_handshakeMethod · 0.36
test_shutdownMethod · 0.36