URLSessionJSONNetworkHandler
public class URLSessionJSONNetworkHandler : URLSessionNetworkHandler<JSONEncoder, JSONDecoder>
The URLSessionJSONNetworkHandler
is a specialized version of URLSessionNetworkHandler
that uses JSON as encoding and decoding strategy.
-
init
initializes aURLSessionNetworkHandler
with aJSONEncoder
andJSONDecoder
Declaration
Swift
public init()