Exemple #1
0
    // Token: 0x060007F7 RID: 2039 RVA: 0x000466A4 File Offset: 0x000448A4
    private void method_0(HttpRequestMessage httpRequestMessage_0)
    {
        if (httpRequestMessage_0.RequestUri.Host != "prod.jdgroupmesh.cloud")
        {
            return;
        }
        string a = httpRequestMessage_0.RequestUri.AbsolutePath.Split(new char[]
        {
            '/'
        })[2];

        if (a == "footpatrol")
        {
            httpRequestMessage_0.Headers.TryAddWithoutValidation("X-Request-Auth", Class45.smethod_0(httpRequestMessage_0.RequestUri, httpRequestMessage_0.Method.ToString()));
            return;
        }
        if (!(a == "thehipstore"))
        {
            return;
        }
        httpRequestMessage_0.Headers.TryAddWithoutValidation("X-Request-Auth", Class45.smethod_1(httpRequestMessage_0.RequestUri, httpRequestMessage_0.Method.ToString()));
    }