xhr_interceptor_facade 0.0.1 xhr_interceptor_facade: ^0.0.1 copied to clipboard
A starting point for Dart libraries or applications.
example/xhr_interceptor_facade_example.dart
// Copyright (c) 2016, kulshekhar. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
import 'package:xhr_interceptor_facade/xhr_interceptor_facade.dart';
main() {
var xi = new XHRInterceptor();
xi.matchAll([
M('/some-route', {
'response_field_1': 1,
'response_field_2': 'aa',
'response_field_3': true
})
]);
xi.intercept();
}