Created
February 12, 2017 05:57
-
-
Save fmo91/9e7edf8f7d48983f6fc990731013de9c to your computer and use it in GitHub Desktop.
Sample NetworkDispatcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NetworkDispatcher.swift | |
// | |
// Created by Fernando Ortiz on 2/11/17. | |
// Copyright © 2017 Fernando Martín Ortiz. All rights reserved. | |
// | |
import Foundation | |
import RxSwift | |
protocol NetworkDispatcher { | |
func execute(request: Request) -> Observable<Any> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment