Created
June 1, 2018 15:51
-
-
Save pavlovmilen/7b1c1e17850f29ab87060103511ef821 to your computer and use it in GitHub Desktop.
myioshttpclient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyiOSHttpClient : IMyClient | |
{ | |
NSUrlSession _client; | |
var _delegate = new mycustomsessiondatadelegate(); | |
using (NSUrlSessionConfiguration config = NSUrlSessionConfiguration.DefaultSessionConfiguration) | |
{ | |
_client = NSUrlSession.FromConfiguration(config, _delegate, NSOperationQueue.MainQueue); | |
} | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment