#NEWLINE# def send_frame( self , cmd , headers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , body = '' ) : #NEWLINE# #INDENT# '\n        Encode and send a stomp frame\n        through the underlying transport:\n\n        :param cmd: the protocol command\n        :param headers: a map of headers to include in the frame\n        :param body: the content of the message\n        ' #NEWLINE# frame = utils . Frame ( cmd , headers , body ) #NEWLINE# self . transport . transmit ( self )