Sending custom headers in the .NET client library


Assume that "service" is an instance of an API-specific service object.
GDataRequestFactory requestFactory = (GDataRequestFactory) service.RequestFactory;
requestFactory.CustomHeaders.Add("X-MyHeader: HeaderValue");

2 comments:

kingrani said...

Flipkart is Offering Cashback Offers Flipkart Today mobile phone Offers You will get upto 75% Discount

Flipkart is Offering Cashback Offers Flipkart Today bank Offers You will get upto 75% Discount

Flipkart is Offering Cashback Offers Flipkart deal of the day offers You will get upto 75% Discount
Flipkart is one of the biggest world wide eCommerce Site so here you will getflipkart bank cashback offersso

Flipkart is one of the biggest world wide eCommerce Site so here you will getFlipkart bank offersso

Mary Petter said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.