xhr_interceptor_facade 0.0.1 copy "xhr_interceptor_facade: ^0.0.1" to clipboard
xhr_interceptor_facade: ^0.0.1 copied to clipboard

Dart 1 only

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();
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

js

More

Packages that depend on xhr_interceptor_facade