public OAuthManager(IHttpListenerManager listenerManager, DesktopConsumer consumer,
     MessageReceivingEndpoint serviceEndPoint)
 {
     _listenerManager = listenerManager;
     _consumer = consumer;
     _serviceEndPoint = serviceEndPoint;
 }
 public OAuthManager(IHttpListenerManager listenerManager, DesktopConsumer consumer,
                     MessageReceivingEndpoint serviceEndPoint) {
     this._listenerManager = listenerManager;
     this._consumer = consumer;
     this._serviceEndPoint = serviceEndPoint;
     // Trying to fix https://github.com/flickr-downloadr/flickr-downloadr-gtk/issues/15
     // From the comment in this SO answer:
     // http://stackoverflow.com/questions/1186682/expectation-failed-when-trying-to-update-twitter-status/2025073#2025073
     ServicePointManager.FindServicePoint(this._serviceEndPoint.Location).Expect100Continue = false;
 }
Beispiel #3
0
 public OAuthManager(IHttpListenerManager listenerManager, DesktopConsumer consumer,
                     MessageReceivingEndpoint serviceEndPoint)
 {
     _listenerManager = listenerManager;
     _consumer        = consumer;
     _serviceEndPoint = serviceEndPoint;
     // Trying to fix https://github.com/flickr-downloadr/flickr-downloadr-gtk/issues/15
     // From the comment in this SO answer:
     // http://stackoverflow.com/questions/1186682/expectation-failed-when-trying-to-update-twitter-status/2025073#2025073
     ServicePointManager.FindServicePoint(_serviceEndPoint.Location).Expect100Continue = false;
 }