connection_didReceiveAuthenticationChallenge_ property

ObjCProtocolListenableMethod<void Function(NSURLConnection, NSURLAuthenticationChallenge)> connection_didReceiveAuthenticationChallenge_
final

connection:didReceiveAuthenticationChallenge:

Implementation

static final connection_didReceiveAuthenticationChallenge_ =
    objc.ObjCProtocolListenableMethod<
      void Function(NSURLConnection, NSURLAuthenticationChallenge)
    >(
      _protocol_NSURLConnectionDelegate,
      _sel_connection_didReceiveAuthenticationChallenge_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_fjrv01)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSURLConnectionDelegate,
        _sel_connection_didReceiveAuthenticationChallenge_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (void Function(NSURLConnection, NSURLAuthenticationChallenge) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLConnection_NSURLAuthenticationChallenge.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLConnection arg1,
              NSURLAuthenticationChallenge arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(NSURLConnection, NSURLAuthenticationChallenge) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLConnection_NSURLAuthenticationChallenge.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLConnection arg1,
              NSURLAuthenticationChallenge arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(NSURLConnection, NSURLAuthenticationChallenge) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLConnection_NSURLAuthenticationChallenge.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLConnection arg1,
              NSURLAuthenticationChallenge arg2,
            ) => func(arg1, arg2),
          ),
    );