MCPcopy Index your code
hub / github.com/kubernetes-client/python / close

Method close

kubernetes/base/stream/ws_client.py:290–296  ·  view source on GitHub ↗

close websocket connection.

(self, **kwargs)

Source from the content-addressed store, hash-verified

288 return self._returncode
289
290 def close(self, **kwargs):
291 """
292 close websocket connection.
293 """
294 self._connected = False
295 if self.sock:
296 self.sock.close(**kwargs)
297
298
299class WSResponse:

Callers 9

get_refsFunction · 0.45
file_passesFunction · 0.45
streamMethod · 0.45
closeMethod · 0.45
_proxyMethod · 0.45
runMethod · 0.45
_create_temp_fileMethod · 0.45

Calls

no outgoing calls

Tested by 3

runMethod · 0.36
_create_temp_fileMethod · 0.36