getDefaultCredentialForProtectionSpace method
void
getDefaultCredentialForProtectionSpace(
- NSURLProtectionSpace space, {
- required NSURLSessionTask task,
- required ObjCBlock<
Void Function(NSURLCredential?)> completionHandler,
getDefaultCredentialForProtectionSpace:task:completionHandler:
Implementation
void getDefaultCredentialForProtectionSpace(
NSURLProtectionSpace space, {
required NSURLSessionTask task,
required objc.ObjCBlock<ffi.Void Function(NSURLCredential?)>
completionHandler,
}) {
objc.checkOsVersionInternal(
'NSURLCredentialStorage.getDefaultCredentialForProtectionSpace:task:completionHandler:',
iOS: (false, (8, 0, 0)),
macOS: (false, (10, 10, 0)),
);
_objc_msgSend_18qun1e(
this.ref.pointer,
_sel_getDefaultCredentialForProtectionSpace_task_completionHandler_,
space.ref.pointer,
task.ref.pointer,
completionHandler.ref.pointer,
);
}