'Pulls out the path onto an instance variable, and optionally
adds the ordering decorator.'

def get_handler(self, message, **kwargs):

    if (self.http_user or self.http_user_and_session):
        self.channel_session_user = True
    self.path = message['path']
    handler = super(WebsocketConsumer, self).get_handler(message, **kwargs)
    if self.http_user_and_session:
        handler = channel_and_http_session_user_from_http(handler)
    elif self.http_user:
        handler = channel_session_user_from_http(handler)
    if self.strict_ordering:
        return enforce_ordering(handler, slight=False)
    elif getattr(self, 'slight_ordering', False):
        raise ValueError('Slight    ordering    is    now    always    on.    Please    remove    `slight_ordering=True`.')
    else:
        return handler
