def websocket_recv_nb(request_context=None):
    """Receives data from websocket (non-blocking variant).

    :param request_context:

    :rtype: bytes|str

    :raises IOError: If unable to receive a message.
    """
