setCredential method
void
setCredential(
- NSURLCredential credential, {
- required NSURLProtectionSpace forProtectionSpace,
- required NSURLSessionTask task,
setCredential:forProtectionSpace:task:
Implementation
void setCredential(
NSURLCredential credential, {
required NSURLProtectionSpace forProtectionSpace,
required NSURLSessionTask task,
}) {
objc.checkOsVersionInternal(
'NSURLCredentialStorage.setCredential:forProtectionSpace:task:',
iOS: (false, (8, 0, 0)),
macOS: (false, (10, 10, 0)),
);
_objc_msgSend_r8gdi7(
this.ref.pointer,
_sel_setCredential_forProtectionSpace_task_,
credential.ref.pointer,
forProtectionSpace.ref.pointer,
task.ref.pointer,
);
}