AssemblyCSharp.BackendConnection.SetCookie C# (CSharp) Method

SetCookie() private method

private SetCookie ( string cookieValue ) : void
cookieValue string
return 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;
        }