SessionProtocol
public protocol SessionProtocol
intended for classes that can be queried for lists
-
the current API Session
Declaration
Swift
var APISession: Session? { get set } -
a method to set the API session in a fluent way
Declaration
Swift
func apiSession(session: Session) -> SelfParameters
sessionthe session to set
Return Value
Self
-
designated initializer
Declaration
Swift
init()Return Value
an instance of the receiving type
SessionProtocol Protocol Reference