NSURLConnectionDelegate class interface
NSURLConnectionDelegate
Constructors
- NSURLConnectionDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSURLConnectionDelegate that points to the same underlying object as
other. -
NSURLConnectionDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSURLConnectionDelegate that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the
objc.Protocolobject for this protocol.no setter -
connection_canAuthenticateAgainstProtectionSpace_
→ ObjCProtocolMethod<
bool Function(NSURLConnection, NSURLProtectionSpace)> -
connection:canAuthenticateAgainstProtectionSpace:
final
-
connection_didCancelAuthenticationChallenge_
→ ObjCProtocolListenableMethod<
void Function(NSURLConnection, NSURLAuthenticationChallenge)> -
connection:didCancelAuthenticationChallenge:
final
-
connection_didFailWithError_
→ ObjCProtocolListenableMethod<
void Function(NSURLConnection, NSError)> -
connection:didFailWithError:
final
-
connection_didReceiveAuthenticationChallenge_
→ ObjCProtocolListenableMethod<
void Function(NSURLConnection, NSURLAuthenticationChallenge)> -
connection:didReceiveAuthenticationChallenge:
final
-
connection_willSendRequestForAuthenticationChallenge_
→ ObjCProtocolListenableMethod<
void Function(NSURLConnection, NSURLAuthenticationChallenge)> -
connection:willSendRequestForAuthenticationChallenge:
final
-
connectionShouldUseCredentialStorage_
→ ObjCProtocolMethod<
bool Function(NSURLConnection)> -
connectionShouldUseCredentialStorage:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSURLConnectionDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSURLConnectionDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSURLConnectionDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSURLConnectionDelegate. -
implement(
{void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → NSURLConnectionDelegate -
Builds an object that implements the NSURLConnectionDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → NSURLConnectionDelegate -
Builds an object that implements the NSURLConnectionDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → NSURLConnectionDelegate -
Builds an object that implements the NSURLConnectionDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.