C# Class ModernHttpClient.NativeMessageHandler.DataTaskDelegate

Inheritance: NSUrlSessionDataDelegate
Datei anzeigen Open project: fpt-software/Wordpress-Client

Private Properties

Property Type Description
createExceptionForNSError System.Exception
getResponseForTask InflightOperation

Public Methods

Method Description
DataTaskDelegate ( NativeMessageHandler that ) : System
DidCompleteWithError ( NSUrlSession session, NSUrlSessionTask task, NSError error ) : void
DidReceiveChallenge ( NSUrlSession session, NSUrlSessionTask task, NSUrlAuthenticationChallenge challenge, NSUrlCredential>.Action completionHandler ) : void
DidReceiveData ( NSUrlSession session, NSUrlSessionDataTask dataTask, NSData byteData ) : void
DidReceiveResponse ( NSUrlSession session, NSUrlSessionDataTask dataTask, NSUrlResponse response, Action completionHandler ) : void
WillPerformHttpRedirection ( NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response, NSUrlRequest newRequest, Action completionHandler ) : void

Private Methods

Method Description
createExceptionForNSError ( NSError error ) : Exception
getResponseForTask ( NSUrlSessionTask task ) : InflightOperation

Method Details

DataTaskDelegate() public method

public DataTaskDelegate ( NativeMessageHandler that ) : System
that NativeMessageHandler
return System

DidCompleteWithError() public method

public DidCompleteWithError ( NSUrlSession session, NSUrlSessionTask task, NSError error ) : void
session NSUrlSession
task NSUrlSessionTask
error NSError
return void

DidReceiveChallenge() public method

public DidReceiveChallenge ( NSUrlSession session, NSUrlSessionTask task, NSUrlAuthenticationChallenge challenge, NSUrlCredential>.Action completionHandler ) : void
session NSUrlSession
task NSUrlSessionTask
challenge NSUrlAuthenticationChallenge
completionHandler NSUrlCredential>.Action
return void

DidReceiveData() public method

public DidReceiveData ( NSUrlSession session, NSUrlSessionDataTask dataTask, NSData byteData ) : void
session NSUrlSession
dataTask NSUrlSessionDataTask
byteData NSData
return void

DidReceiveResponse() public method

public DidReceiveResponse ( NSUrlSession session, NSUrlSessionDataTask dataTask, NSUrlResponse response, Action completionHandler ) : void
session NSUrlSession
dataTask NSUrlSessionDataTask
response NSUrlResponse
completionHandler Action
return void

WillPerformHttpRedirection() public method

public WillPerformHttpRedirection ( NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response, NSUrlRequest newRequest, Action completionHandler ) : void
session NSUrlSession
task NSUrlSessionTask
response NSHttpUrlResponse
newRequest NSUrlRequest
completionHandler Action
return void