blob: b97cf21a5334b6a102dacda6ce3756dd0f0fd735 [file] [log] [blame]
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
part of html;
class $FACTORYPROVIDER {
static $INTERFACE create$INTERFACE($PARAMETERS) => _create$INTERFACE($ARGUMENTS);
static $INTERFACE _create$INTERFACE($PARAMETERS) native "$NATIVE_NAME";
static HttpRequest createHttpRequest_get(String url,
onSuccess(HttpRequest request)) =>
_HttpRequestUtils.get(url, onSuccess, false);
static HttpRequest createHttpRequest_getWithCredentials(String url,
onSuccess(HttpRequest request)) =>
_HttpRequestUtils.get(url, onSuccess, true);
}