Instance Method

forceCancel()

Cancels the connection and immediately disconnects any established network protocols.

Declaration

final func forceCancel()

See Also

Canceling Connections

func cancel()

Cancels the connection and gracefully disconnects any established network protocols.

func cancelCurrentEndpoint()

Causes the current endpoint to be rejected, allowing the connection to try another resolved address.