URLSession_task_didReceiveChallenge_completionHandler_ property
ObjCProtocolListenableMethod<void Function(NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)> )>
URLSession_task_didReceiveChallenge_completionHandler_
final
URLSession:task:didReceiveChallenge:completionHandler:
Implementation
static final URLSession_task_didReceiveChallenge_completionHandler_ =
objc.ObjCProtocolListenableMethod<
void Function(
NSURLSession,
NSURLSessionTask,
NSURLAuthenticationChallenge,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>,
)
>(
_protocol_NSURLSessionWebSocketDelegate,
_sel_URLSession_task_didReceiveChallenge_completionHandler_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>(_NativeBindingBindings_protocolTrampoline_xx612k)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSURLSessionWebSocketDelegate,
_sel_URLSession_task_didReceiveChallenge_completionHandler_,
isRequired: false,
isInstanceMethod: true,
),
(
void Function(
NSURLSession,
NSURLSessionTask,
NSURLAuthenticationChallenge,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>,
)
func,
) =>
ObjCBlock_ffiVoid_ffiVoid_NSURLSession_NSURLSessionTask_NSURLAuthenticationChallenge_ffiVoidNSURLSessionAuthChallengeDispositionNSURLCredential.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSURLSession arg1,
NSURLSessionTask arg2,
NSURLAuthenticationChallenge arg3,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>
arg4,
) => func(arg1, arg2, arg3, arg4),
),
(
void Function(
NSURLSession,
NSURLSessionTask,
NSURLAuthenticationChallenge,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>,
)
func,
) =>
ObjCBlock_ffiVoid_ffiVoid_NSURLSession_NSURLSessionTask_NSURLAuthenticationChallenge_ffiVoidNSURLSessionAuthChallengeDispositionNSURLCredential.listener(
(
ffi.Pointer<ffi.Void> _,
NSURLSession arg1,
NSURLSessionTask arg2,
NSURLAuthenticationChallenge arg3,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>
arg4,
) => func(arg1, arg2, arg3, arg4),
),
(
void Function(
NSURLSession,
NSURLSessionTask,
NSURLAuthenticationChallenge,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>,
)
func,
) =>
ObjCBlock_ffiVoid_ffiVoid_NSURLSession_NSURLSessionTask_NSURLAuthenticationChallenge_ffiVoidNSURLSessionAuthChallengeDispositionNSURLCredential.blocking(
(
ffi.Pointer<ffi.Void> _,
NSURLSession arg1,
NSURLSessionTask arg2,
NSURLAuthenticationChallenge arg3,
objc.ObjCBlock<ffi.Void Function(NSInteger, NSURLCredential?)>
arg4,
) => func(arg1, arg2, arg3, arg4),
),
);