Back to Alamofire

SessionStateProvider

docs/docsets/Alamofire.docset/Contents/Resources/Documents/Protocols/SessionStateProvider.html

5.12.01.3 KB
Original Source

SessionStateProvider

public protocol SessionStateProvider : AnyObject

Undocumented

`

                serverTrustManager
                `

Undocumented

Declaration

Swift

var serverTrustManager: ServerTrustManager? { get }

`

                redirectHandler
                `

Undocumented

Declaration

Swift

var redirectHandler: RedirectHandler? { get }

`

                cachedResponseHandler
                `

Undocumented

Declaration

Swift

var cachedResponseHandler: CachedResponseHandler? { get }

`

                request(for:)
                `

Undocumented

Declaration

Swift

func request(for task: URLSessionTask) -> Request?

`

                didCompleteTask(_:)
                `

Undocumented

Declaration

Swift

func didCompleteTask(_ task: URLSessionTask)

`

                credential(for:in:)
                `

Undocumented

Declaration

Swift

func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?

`

                cancelRequestsForSessionInvalidation(with:)
                `

Undocumented

Declaration

Swift

func cancelRequestsForSessionInvalidation(with error: Error?)