Created
December 21, 2017 09:33
-
-
Save maxkoretskyi/f6d854052e2aa2f7c788494742cc93be to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export abstract class HttpHandler { | |
abstract handle(req: HttpRequest<any>): Observable<HttpEvent<any>>; | |
} | |
export abstract class HttpBackend implements HttpHandler { | |
abstract handle(req: HttpRequest<any>): Observable<HttpEvent<any>>; | |
} | |
export class HttpXhrBackend implements HttpBackend { | |
handle(req: HttpRequest<any>): Observable<HttpEvent<any>> {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment