'send ping data.
payload: data payload to send server.'

def ping(self, payload=''):

    if isinstance(payload, six.text_type):
        payload = payload.encode('utf-8')
    self.send(payload, ABNF.OPCODE_PING)
