You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AlexandreBarbier edited this page Jan 19, 2013
·
1 revision
In order to stick as close to the API, I used the subsonic API documentation for organise the code.
Each method in the subsonic rest API which return a subsonic-response is represented by a class which inherit from the abstract class Response where T is the class type.
Each class in the dll have a Request method which take or not parameter according to the API.
This allow us to create wrappers without parsing or configuring anything.
I used XmlSerializer to parse and create object without parsing.