AssemblyCSharp.BackendConnection.SetCookie C# (CSharp) Метод

SetCookie() приватный Метод

private SetCookie ( string cookieValue ) : void
cookieValue string
Результат void
        private void SetCookie(string cookieValue)
        {
            var endOfCookieVal = cookieValue.IndexOf(';');
            if (endOfCookieVal > 0)
            {
            cookieValue = cookieValue.Substring(0, endOfCookieVal);
            }

            PSDebug.Log("Set cookie: {0}", cookieValue);
            _sessionCookie = cookieValue;
        }