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