EXTENSION

URLResponse

public extension URLResponse

Methods

haapiSessionId()

func haapiSessionId() -> String?

Return the value of the HAAPI Session-Id in the URLResponse, or nil when the URLResponse did not contain a HAAP Session-Id.

dpopNonce()

func dpopNonce() -> String?

Return the value of the DPoP-Nonce in the URLResponse, or nil when the URLResponse did not contain a DPoP-Nonce.