SPTSession
class SPTSession : NSObject, NSSecureCoding
-
Creates a Spotify Web API request using the current session for authorization.
Declaration
Parameters
methodThe HTTP verb to use for this request:
GET,PUT,POST, orDELETE.urlThe destination URL for this request.
parametersThe parameters for this request, if any.
Return Value
An authorized
SKRequestinstance, ornilif a request cannot be instantiated with the given parameters. -
Creates a Spotify Web API request using the current session for authorization.
Declaration
Parameters
methodThe HTTP verb to use for this request:
GET,PUT,POST, orDELETE.endpointThe destination endpoint for this request.
parametersThe parameters for this request, if any.
Return Value
An authorized
SKRequestinstance, ornilif a request cannot be instantiated with the given parameters.
View on GitHub
SPTSession Extension Reference