planer/remote/__init__.py
async def send(loop, message):
    "Send the keyword arguments as a JSON to the server."
    reader, writer = await asyncio.open_connection(
            config['daemon']['host'],
            config['daemon']['port'],
            loop=loop)

    writer.write("{}\n".format(json.dumps(message)).encode())
    await writer.drain()
    received = await reader.readline()
    writer.close()

    return json.loads(received.decode())
Send the keyword arguments as a JSON to the server.
Send the keyword arguments as a JSON to the server.
Send the keyword arguments as a JSON to the server .
async def send(loop, message):
    reader, writer = await asyncio.open_connection(
            config['daemon']['host'],
            config['daemon']['port'],
            loop=loop)
    writer.write("{}\n".format(json.dumps(message)).encode())
    await writer.drain()
    received = await reader.readline()
    writer.close()
    return json.loads(received.decode())
async def send ( loop , message ) : reader , writer = await asyncio . open_connection ( config [ 'daemon' ] [ 'host' ] , config [ 'daemon' ] [ 'port' ] , loop = loop ) writer . write ( "{}\n" . format ( json . dumps ( message ) ) . encode ( ) ) await writer . drain ( ) received = await reader . readline ( ) writer . close ( ) return json . loads ( received . decode ( ) )
Send the keyword arguments as a JSON to the server.
Send the keyword arguments as a JSON to the server .
"Send the keyword arguments as a JSON to the server."
loop
message