CLASS
Contents
- Properties
encoder
decoder
errorParser
header
levelOfLogDetails
- Methods
init(baseURL:encoder:decoder:)
get(_:)
post(_:)
put(_:)
patch(_:)
delete(_:)
head(_:)
Class for making requests to the API
Default initializer.
- Parameters:
- baseURL: Base for endpoints calls.
- encoder: Encoder used for encoding requests' body.
- decoder: Decoder used for decoding response's data to expected object.