Skip to content

Instantly share code, notes, and snippets.

@fmo91
Created February 12, 2017 05:57
Show Gist options
  • Save fmo91/9e7edf8f7d48983f6fc990731013de9c to your computer and use it in GitHub Desktop.
Save fmo91/9e7edf8f7d48983f6fc990731013de9c to your computer and use it in GitHub Desktop.
Sample NetworkDispatcher
//
// 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