MCPcopy
hub / github.com/aio-libs/aiohttp / send_str

Method send_str

aiohttp/websocket_client.py:76–81  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

74 self._writer.pong(message)
75
76 def send_str(self, data):
77 if self._closed:
78 raise RuntimeError('websocket connection is closed')
79 if not isinstance(data, str):
80 raise TypeError('data argument must be str (%r)' % type(data))
81 self._writer.send(data, binary=False)
82
83 def send_bytes(self, data):
84 if self._closed:

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected