Instance Method

startSecureConnection()

Completes any enqueued reads and writes, and establishes a secure connection.

Declaration

func startSecureConnection()

Discussion

Authentication callbacks are sent to the session's delegate using the urlSession(_:task:didReceive:completionHandler:) method.

See Also

Starting and Stopping Secure Connections

func stopSecureConnection()

Completes any enqueued reads and writes, and closes the secure connection.

Deprecated