Exemple #1
0
        /// <summary>
        /// See <see cref="HttpRequest.AppendHeaders"/>.
        /// </summary>
        protected override void AppendHeaders(WebHeaderCollection headers)
        {
            var oAuthHeader = OAuthHelper.ConstructOAuthHeader();

            headers.Add(HttpRequestHeader.Authorization, oAuthHeader);

            base.AppendHeaders(headers);
        }