Functions
mycroft.messagebus.send Namespace Reference

Functions

def main ()
 
def send (messageToSend, dataToSend=None)
 

Function Documentation

def mycroft.messagebus.send.main ( )
    Main function, will run if executed from command line.

    Sends parameters from commandline.

    Param 1:    message string
    Param 2:    data (json string)

Definition at line 23 of file send.py.

def mycroft.messagebus.send.send (   messageToSend,
  dataToSend = None 
)
    Send a single message over the websocket.

    Args:
        messageToSend (str):    Message to send
        dataToSend (dict):      data structure to go along with the
                                message, defaults to empty dict.

Definition at line 57 of file send.py.



mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:40