MCPcopy Index your code
hub / github.com/aws/aws-cli / close

Method close

awscli/customizations/ec2instanceconnect/websocket.py:226–230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 raise self._exception
225
226 def close(self):
227 if self._websocket:
228 self._websocket.close()
229 self.websocketio.close()
230 self._shutdown_event.set()
231
232 def _write_data_from_input(self):
233 while not self._shutdown_event.is_set():

Callers 10

connectMethod · 0.95
write_data_from_inputMethod · 0.95
closeMethod · 0.45
__exit__Method · 0.45
_listen_on_portMethod · 0.45
_run_main_commandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected