mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-07-04 23:40:45 +07:00
Update NetworkRouter.swift
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
protocol NetworkRouter: class {
|
protocol NetworkRouter: AnyObject {
|
||||||
associatedtype EndPoint: EndPointType
|
associatedtype EndPoint: EndPointType
|
||||||
func request<T: Decodable>(_ route: EndPoint, completion: @escaping NetworkRouterCompletion<T>)
|
func request<T: Decodable>(_ route: EndPoint, completion: @escaping NetworkRouterCompletion<T>)
|
||||||
func cancel()
|
func cancel()
|
||||||
|
Reference in New Issue
Block a user