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

Method close

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

Source from the content-addressed store, hash-verified

115 self.conn.sendall(data)
116
117 def close(self):
118 try:
119 self.conn.close()
120 # On Windows, we could receive an OSError if the tcp conn is already closed.
121 except OSError:
122 pass
123
124
125class Websocket:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected